ClientSideRequestStatistics Class
- java.
lang. Object - com.
microsoft. azure. documentdb. ClientSideRequestStatistics
- com.
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
Constructor Details
ClientSideRequestStatistics
public ClientSideRequestStatistics()
Method Details
getContactedReplicas
public List
getFailedReplicas
public Set
getRegionsContacted
public Set
getRequestLatency
public Period getRequestLatency()
recordAddressResolutionEnd
public void recordAddressResolutionEnd(String identifier)
Parameters:
recordAddressResolutionStart
public String recordAddressResolutionStart(URI targetEndpoint)
Parameters:
recordResponse
public void recordResponse(DocumentServiceRequest documentServiceRequest, StoreReadResult storeReadResult, DateTime requestStartTime)
Parameters:
setContactedReplicas
public void setContactedReplicas(List
Parameters:
setFailedReplicas
public void setFailedReplicas(Set
Parameters:
setRegionsContacted
public void setRegionsContacted(Set
Parameters:
toString
public String toString()
Overrides:
ClientSideRequestStatistics.toString()Applies to
Azure SDK for Java