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

ClientSideRequestStatistics 类

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

public class ClientSideRequestStatistics

构造函数摘要

构造函数 说明
ClientSideRequestStatistics()

方法摘要

修饰符和类型 方法和描述
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()

构造函数详细信息

ClientSideRequestStatistics

public ClientSideRequestStatistics()

方法详细信息

getContactedReplicas

public List getContactedReplicas()

getFailedReplicas

public Set getFailedReplicas()

getRegionsContacted

public Set getRegionsContacted()

getRequestLatency

public Duration getRequestLatency()

recordAddressResolutionEnd

public void recordAddressResolutionEnd(String identifier, String errorMessage)

参数:

identifier
errorMessage

recordAddressResolutionStart

public String recordAddressResolutionStart(URI targetEndpoint)

参数:

targetEndpoint

recordResponse

public void recordResponse(RxDocumentServiceRequest request, StoreResult storeResult)

参数:

request
storeResult

setContactedReplicas

public void setContactedReplicas(List contactedReplicas)

参数:

contactedReplicas

setFailedReplicas

public void setFailedReplicas(Set failedReplicas)

参数:

failedReplicas

setRegionsContacted

public void setRegionsContacted(Set regionsContacted)

参数:

regionsContacted

toString

public String toString()

适用于