80 строки
7.2 KiB
YAML
80 строки
7.2 KiB
YAML
### YamlMime:JavaType
|
|
uid: "com.azure.cosmos.CosmosEndToEndOperationLatencyPolicyConfigBuilder"
|
|
fullName: "com.azure.cosmos.CosmosEndToEndOperationLatencyPolicyConfigBuilder"
|
|
name: "CosmosEndToEndOperationLatencyPolicyConfigBuilder"
|
|
nameWithType: "CosmosEndToEndOperationLatencyPolicyConfigBuilder"
|
|
summary: "Builder for Cosmos<wbr>End<wbr>ToEnd<wbr>Operation<wbr>Latency<wbr>Policy<wbr>Config"
|
|
inheritances:
|
|
- "<xref href=\"java.lang.Object?displayProperty=fullName\" data-throw-if-not-resolved=\"False\" />"
|
|
inheritedClassMethods:
|
|
- classRef: "java.lang.<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html\">Object</a>"
|
|
methodsRef:
|
|
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#clone--\">clone</a>"
|
|
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#equals-java.lang.Object-\">equals</a>"
|
|
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#finalize--\">finalize</a>"
|
|
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#getClass--\">getClass</a>"
|
|
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#hashCode--\">hashCode</a>"
|
|
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#notify--\">notify</a>"
|
|
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#notifyAll--\">notifyAll</a>"
|
|
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#toString--\">toString</a>"
|
|
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait--\">wait</a>"
|
|
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait-long-\">wait</a>"
|
|
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait-long-int-\">wait</a>"
|
|
syntax: "public class **CosmosEndToEndOperationLatencyPolicyConfigBuilder**"
|
|
constructors:
|
|
- uid: "com.azure.cosmos.CosmosEndToEndOperationLatencyPolicyConfigBuilder.CosmosEndToEndOperationLatencyPolicyConfigBuilder(java.time.Duration)"
|
|
fullName: "com.azure.cosmos.CosmosEndToEndOperationLatencyPolicyConfigBuilder.CosmosEndToEndOperationLatencyPolicyConfigBuilder(Duration endToEndOperationTimeout)"
|
|
name: "CosmosEndToEndOperationLatencyPolicyConfigBuilder(Duration endToEndOperationTimeout)"
|
|
nameWithType: "CosmosEndToEndOperationLatencyPolicyConfigBuilder.CosmosEndToEndOperationLatencyPolicyConfigBuilder(Duration endToEndOperationTimeout)"
|
|
summary: "Create a builder for <xref uid=\"com.azure.cosmos.CosmosEndToEndOperationLatencyPolicyConfig\" data-throw-if-not-resolved=\"false\" data-raw-source=\"CosmosEndToEndOperationLatencyPolicyConfig\"></xref> with end to end operation timeout"
|
|
parameters:
|
|
- description: "the timeout for request cancellation in Duration. Setting very low timeouts\n can cause the request to never succeed."
|
|
name: "endToEndOperationTimeout"
|
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/time/Duration.html\">Duration</a>"
|
|
syntax: "public CosmosEndToEndOperationLatencyPolicyConfigBuilder(Duration endToEndOperationTimeout)"
|
|
desc: "Create a builder for <xref uid=\"com.azure.cosmos.CosmosEndToEndOperationLatencyPolicyConfig\" data-throw-if-not-resolved=\"false\" data-raw-source=\"CosmosEndToEndOperationLatencyPolicyConfig\"></xref> with end to end operation timeout"
|
|
methods:
|
|
- uid: "com.azure.cosmos.CosmosEndToEndOperationLatencyPolicyConfigBuilder.availabilityStrategy(com.azure.cosmos.AvailabilityStrategy)"
|
|
fullName: "com.azure.cosmos.CosmosEndToEndOperationLatencyPolicyConfigBuilder.availabilityStrategy(AvailabilityStrategy availabilityStrategy)"
|
|
name: "availabilityStrategy(AvailabilityStrategy availabilityStrategy)"
|
|
nameWithType: "CosmosEndToEndOperationLatencyPolicyConfigBuilder.availabilityStrategy(AvailabilityStrategy availabilityStrategy)"
|
|
summary: "Sets the availability strategy to be used for the policy."
|
|
parameters:
|
|
- description: "the availability strategy to be used for the policy"
|
|
name: "availabilityStrategy"
|
|
type: "<xref href=\"com.azure.cosmos.AvailabilityStrategy?alt=com.azure.cosmos.AvailabilityStrategy&text=AvailabilityStrategy\" data-throw-if-not-resolved=\"False\" />"
|
|
syntax: "public CosmosEndToEndOperationLatencyPolicyConfigBuilder availabilityStrategy(AvailabilityStrategy availabilityStrategy)"
|
|
desc: "Sets the availability strategy to be used for the policy."
|
|
returns:
|
|
description: "current CosmosEndToEndOperationConfigBuilder"
|
|
type: "<xref href=\"com.azure.cosmos.CosmosEndToEndOperationLatencyPolicyConfigBuilder?alt=com.azure.cosmos.CosmosEndToEndOperationLatencyPolicyConfigBuilder&text=CosmosEndToEndOperationLatencyPolicyConfigBuilder\" data-throw-if-not-resolved=\"False\" />"
|
|
- uid: "com.azure.cosmos.CosmosEndToEndOperationLatencyPolicyConfigBuilder.build()"
|
|
fullName: "com.azure.cosmos.CosmosEndToEndOperationLatencyPolicyConfigBuilder.build()"
|
|
name: "build()"
|
|
nameWithType: "CosmosEndToEndOperationLatencyPolicyConfigBuilder.build()"
|
|
summary: "Builds <xref uid=\"com.azure.cosmos.CosmosEndToEndOperationLatencyPolicyConfig\" data-throw-if-not-resolved=\"false\" data-raw-source=\"CosmosEndToEndOperationLatencyPolicyConfig\"></xref> with specified properties"
|
|
syntax: "public CosmosEndToEndOperationLatencyPolicyConfig build()"
|
|
desc: "Builds <xref uid=\"com.azure.cosmos.CosmosEndToEndOperationLatencyPolicyConfig\" data-throw-if-not-resolved=\"false\" data-raw-source=\"CosmosEndToEndOperationLatencyPolicyConfig\"></xref> with specified properties"
|
|
returns:
|
|
description: "the <xref uid=\"com.azure.cosmos.CosmosEndToEndOperationLatencyPolicyConfig\" data-throw-if-not-resolved=\"false\" data-raw-source=\"CosmosEndToEndOperationLatencyPolicyConfig\"></xref>"
|
|
type: "<xref href=\"com.azure.cosmos.CosmosEndToEndOperationLatencyPolicyConfig?alt=com.azure.cosmos.CosmosEndToEndOperationLatencyPolicyConfig&text=CosmosEndToEndOperationLatencyPolicyConfig\" data-throw-if-not-resolved=\"False\" />"
|
|
- uid: "com.azure.cosmos.CosmosEndToEndOperationLatencyPolicyConfigBuilder.enable(boolean)"
|
|
fullName: "com.azure.cosmos.CosmosEndToEndOperationLatencyPolicyConfigBuilder.enable(boolean isEnabled)"
|
|
name: "enable(boolean isEnabled)"
|
|
nameWithType: "CosmosEndToEndOperationLatencyPolicyConfigBuilder.enable(boolean isEnabled)"
|
|
summary: "Enables or disables the policy."
|
|
parameters:
|
|
- description: "flag to enable or disable the policy"
|
|
name: "isEnabled"
|
|
type: "<xref href=\"boolean?alt=boolean&text=boolean\" data-throw-if-not-resolved=\"False\" />"
|
|
syntax: "public CosmosEndToEndOperationLatencyPolicyConfigBuilder enable(boolean isEnabled)"
|
|
desc: "Enables or disables the policy. It defaults to enable. <xref uid=\"\" data-throw-if-not-resolved=\"false\" data-raw-source=\"OperationCancelledException\"></xref>"
|
|
returns:
|
|
description: "current CosmosEndToEndOperationConfigBuilder"
|
|
type: "<xref href=\"com.azure.cosmos.CosmosEndToEndOperationLatencyPolicyConfigBuilder?alt=com.azure.cosmos.CosmosEndToEndOperationLatencyPolicyConfigBuilder&text=CosmosEndToEndOperationLatencyPolicyConfigBuilder\" data-throw-if-not-resolved=\"False\" />"
|
|
type: "class"
|
|
desc: "Builder for CosmosEndToEndOperationLatencyPolicyConfig"
|
|
metadata: {}
|
|
package: "com.azure.cosmos"
|
|
artifact: com.azure:azure-cosmos:4.63.4
|