ClientSideRequestStatistics Class
- java.
lang. Object - com.
microsoft. azure. cosmosdb. ClientSideRequestStatistics
- com.
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
getFailedReplicas
public Set
getRegionsContacted
public Set
getRequestLatency
public Duration getRequestLatency()
recordAddressResolutionEnd
public void recordAddressResolutionEnd(String identifier, String errorMessage)
Parameters:
recordAddressResolutionStart
public String recordAddressResolutionStart(URI targetEndpoint)
Parameters:
recordResponse
public void recordResponse(RxDocumentServiceRequest request, StoreResult storeResult)
Parameters:
setContactedReplicas
public void setContactedReplicas(List
Parameters:
setFailedReplicas
public void setFailedReplicas(Set
Parameters:
setRegionsContacted
public void setRegionsContacted(Set
Parameters:
toString
public String toString()
Applies to
Azure SDK for Java