你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
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()