81 строка
5.3 KiB
YAML
81 строка
5.3 KiB
YAML
### YamlMime:JavaType
|
|
uid: "com.azure.cosmos.ThresholdBasedAvailabilityStrategy"
|
|
fullName: "com.azure.cosmos.ThresholdBasedAvailabilityStrategy"
|
|
name: "ThresholdBasedAvailabilityStrategy"
|
|
nameWithType: "ThresholdBasedAvailabilityStrategy"
|
|
summary: "The type Threshold based retry availability strategy."
|
|
inheritances:
|
|
- "<xref href=\"java.lang.Object?displayProperty=fullName\" data-throw-if-not-resolved=\"False\" />"
|
|
- "<xref href=\"com.azure.cosmos.AvailabilityStrategy?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 final class **ThresholdBasedAvailabilityStrategy**</br> extends <xref href=\"com.azure.cosmos.AvailabilityStrategy?alt=com.azure.cosmos.AvailabilityStrategy&text=AvailabilityStrategy\" data-throw-if-not-resolved=\"False\" />"
|
|
constructors:
|
|
- uid: "com.azure.cosmos.ThresholdBasedAvailabilityStrategy.ThresholdBasedAvailabilityStrategy()"
|
|
fullName: "com.azure.cosmos.ThresholdBasedAvailabilityStrategy.ThresholdBasedAvailabilityStrategy()"
|
|
name: "ThresholdBasedAvailabilityStrategy()"
|
|
nameWithType: "ThresholdBasedAvailabilityStrategy.ThresholdBasedAvailabilityStrategy()"
|
|
summary: "Instantiates a new Threshold based retry availability strategy."
|
|
syntax: "public ThresholdBasedAvailabilityStrategy()"
|
|
desc: "Instantiates a new Threshold based retry availability strategy."
|
|
- uid: "com.azure.cosmos.ThresholdBasedAvailabilityStrategy.ThresholdBasedAvailabilityStrategy(java.time.Duration,java.time.Duration)"
|
|
fullName: "com.azure.cosmos.ThresholdBasedAvailabilityStrategy.ThresholdBasedAvailabilityStrategy(Duration threshold, Duration thresholdStep)"
|
|
name: "ThresholdBasedAvailabilityStrategy(Duration threshold, Duration thresholdStep)"
|
|
nameWithType: "ThresholdBasedAvailabilityStrategy.ThresholdBasedAvailabilityStrategy(Duration threshold, Duration thresholdStep)"
|
|
summary: "Instantiates a new Threshold based retry availability strategy."
|
|
parameters:
|
|
- description: "the threshold at which the request has to be tried on next region"
|
|
name: "threshold"
|
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/time/Duration.html\">Duration</a>"
|
|
- description: "the threshold step at which the request has to be tried on subsequent regions"
|
|
name: "thresholdStep"
|
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/time/Duration.html\">Duration</a>"
|
|
syntax: "public ThresholdBasedAvailabilityStrategy(Duration threshold, Duration thresholdStep)"
|
|
desc: "Instantiates a new Threshold based retry availability strategy."
|
|
methods:
|
|
- uid: "com.azure.cosmos.ThresholdBasedAvailabilityStrategy.getThreshold()"
|
|
fullName: "com.azure.cosmos.ThresholdBasedAvailabilityStrategy.getThreshold()"
|
|
name: "getThreshold()"
|
|
nameWithType: "ThresholdBasedAvailabilityStrategy.getThreshold()"
|
|
summary: "Gets threshold."
|
|
syntax: "public Duration getThreshold()"
|
|
desc: "Gets threshold."
|
|
returns:
|
|
description: "the threshold"
|
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/time/Duration.html\">Duration</a>"
|
|
- uid: "com.azure.cosmos.ThresholdBasedAvailabilityStrategy.getThresholdStep()"
|
|
fullName: "com.azure.cosmos.ThresholdBasedAvailabilityStrategy.getThresholdStep()"
|
|
name: "getThresholdStep()"
|
|
nameWithType: "ThresholdBasedAvailabilityStrategy.getThresholdStep()"
|
|
summary: "Gets threshold step."
|
|
syntax: "public Duration getThresholdStep()"
|
|
desc: "Gets threshold step."
|
|
returns:
|
|
description: "the threshold step"
|
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/time/Duration.html\">Duration</a>"
|
|
- uid: "com.azure.cosmos.ThresholdBasedAvailabilityStrategy.toString()"
|
|
fullName: "com.azure.cosmos.ThresholdBasedAvailabilityStrategy.toString()"
|
|
name: "toString()"
|
|
nameWithType: "ThresholdBasedAvailabilityStrategy.toString()"
|
|
overridden: "java.lang.Object.toString()"
|
|
syntax: "public String toString()"
|
|
returns:
|
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
|
|
type: "class"
|
|
desc: "The type Threshold based retry availability strategy."
|
|
metadata: {}
|
|
package: "com.azure.cosmos"
|
|
artifact: com.azure:azure-cosmos:4.63.3
|