ThroughputResponse Class
- java.
lang. Object - com.
azure. cosmos. models. CosmosResponse<T> - com.
azure. cosmos. models. ThroughputResponse
- com.
- com.
public class ThroughputResponse
extends CosmosResponse<ThroughputProperties>
The cosmos throughput response.
Method Summary
Modifier and Type | Method and Description |
---|---|
int |
getMinThroughput()
Gets minimum throughput in measurement of request units per second in the Azure Cosmos service. |
Throughput |
getProperties()
Gets properties. |
boolean |
isReplacePending()
Gets the status whether offer replace is successful or pending. |
Methods inherited from CosmosResponse
getActivityId
getCurrentResourceQuotaUsage
getDiagnostics
getDuration
getMaxResourceQuota
getProperties
getRequestCharge
getResponseHeaders
getSessionToken
getStatusCode
Methods inherited from java.lang.Object
Method Details
getMinThroughput
public int getMinThroughput()
Gets minimum throughput in measurement of request units per second in the Azure Cosmos service.
Returns:
the minimun throughput
getProperties
public ThroughputProperties getProperties()
Gets properties.
Overrides:
ThroughputResponse.getProperties()isReplacePending
public boolean isReplacePending()
Gets the status whether offer replace is successful or pending.
Returns:
the boolean representing the status
Applies to
GitHub에서 Microsoft와 공동 작업
이 콘텐츠의 원본은 GitHub에서 찾을 수 있으며, 여기서 문제와 끌어오기 요청을 만들고 검토할 수도 있습니다. 자세한 내용은 참여자 가이드를 참조하세요.
Azure SDK for Java