Compartir a través de


ClientSideRequestStatistics Class

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

public class ClientSideRequestStatistics

Constructor Summary

Constructor Description
ClientSideRequestStatistics()

Method Summary

Modifier and Type Method and Description
java.util.List<java.net.URI> getContactedReplicas()
java.util.Set<java.net.URI> getFailedReplicas()
java.util.Set<java.net.URI> getRegionsContacted()
org.joda.time.Period getRequestLatency()
void recordAddressResolutionEnd(String identifier)
java.lang.String recordAddressResolutionStart(URI targetEndpoint)
void recordResponse(DocumentServiceRequest documentServiceRequest, StoreReadResult storeReadResult, DateTime requestStartTime)
void setContactedReplicas(List<URI> contactedReplicas)
void setFailedReplicas(Set<URI> failedReplicas)
void setRegionsContacted(Set<URI> regionsContacted)
java.lang.String toString()

Methods inherited from java.lang.Object

java.lang.Object.clone java.lang.Object.equals java.lang.Object.finalize java.lang.Object.getClass java.lang.Object.hashCode java.lang.Object.notify java.lang.Object.notifyAll java.lang.Object.toString java.lang.Object.wait java.lang.Object.wait java.lang.Object.wait

Constructor Details

ClientSideRequestStatistics

public ClientSideRequestStatistics()

Method Details

getContactedReplicas

public List getContactedReplicas()

getFailedReplicas

public Set getFailedReplicas()

getRegionsContacted

public Set getRegionsContacted()

getRequestLatency

public Period getRequestLatency()

recordAddressResolutionEnd

public void recordAddressResolutionEnd(String identifier)

Parameters:

identifier

recordAddressResolutionStart

public String recordAddressResolutionStart(URI targetEndpoint)

Parameters:

targetEndpoint

recordResponse

public void recordResponse(DocumentServiceRequest documentServiceRequest, StoreReadResult storeReadResult, DateTime requestStartTime)

Parameters:

documentServiceRequest
storeReadResult
requestStartTime

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()

Overrides:

ClientSideRequestStatistics.toString()

Applies to