다음을 통해 공유


ClientSideRequestStatistics Class

  • java.lang.Object
    • com.microsoft.azure.cosmosdb.ClientSideRequestStatistics

public class ClientSideRequestStatistics

Constructor Summary

Constructor Description
ClientSideRequestStatistics()

Method Summary

Modifier and Type Method and Description
List<URI> getContactedReplicas()
Set<URI> getFailedReplicas()
Set<URI> getRegionsContacted()
Duration getRequestLatency()
void recordAddressResolutionEnd(String identifier, String errorMessage)
String recordAddressResolutionStart(URI targetEndpoint)
void recordResponse(RxDocumentServiceRequest request, StoreResult storeResult)
void setContactedReplicas(List<URI> contactedReplicas)
void setFailedReplicas(Set<URI> failedReplicas)
void setRegionsContacted(Set<URI> regionsContacted)
String toString()

Constructor Details

ClientSideRequestStatistics

public ClientSideRequestStatistics()

Method Details

getContactedReplicas

public List getContactedReplicas()

getFailedReplicas

public Set getFailedReplicas()

getRegionsContacted

public Set getRegionsContacted()

getRequestLatency

public Duration getRequestLatency()

recordAddressResolutionEnd

public void recordAddressResolutionEnd(String identifier, String errorMessage)

Parameters:

identifier
errorMessage

recordAddressResolutionStart

public String recordAddressResolutionStart(URI targetEndpoint)

Parameters:

targetEndpoint

recordResponse

public void recordResponse(RxDocumentServiceRequest request, StoreResult storeResult)

Parameters:

request
storeResult

setContactedReplicas

public void setContactedReplicas(List contactedReplicas)

Parameters:

contactedReplicas

setFailedReplicas

public void setFailedReplicas(Set failedReplicas)

Parameters:

failedReplicas

setRegionsContacted

public void setRegionsContacted(Set regionsContacted)

Parameters:

regionsContacted

toString

public String toString()

Applies to