CosmosEndToEndOperationLatencyPolicyConfig Class
- java.
lang. Object - com.
azure. cosmos. CosmosEndToEndOperationLatencyPolicyConfig
- com.
public final class CosmosEndToEndOperationLatencyPolicyConfig
Represents End to end operation latency policy config This enables requests to get cancelled by the client once the specified timeout is reached
Method Summary
Modifier and Type | Method and Description |
---|---|
Availability |
getAvailabilityStrategy()
Gets the availability strategy to be used for the policy. |
Duration |
getEndToEndOperationTimeout()
Gets the defined end to end operatoin timeout |
boolean |
isEnabled()
Returns if the policy is enabled or not |
String | toString() |
Methods inherited from java.lang.Object
Method Details
getAvailabilityStrategy
public AvailabilityStrategy getAvailabilityStrategy()
Gets the availability strategy to be used for the policy.
Returns:
getEndToEndOperationTimeout
public Duration getEndToEndOperationTimeout()
Gets the defined end to end operatoin timeout
Returns:
isEnabled
public boolean isEnabled()
Returns if the policy is enabled or not
Returns:
toString
public String toString()
Overrides:
CosmosEndToEndOperationLatencyPolicyConfig.toString()Applies to
Azure SDK for Java
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기