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
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應