94 строки
7.2 KiB
YAML
94 строки
7.2 KiB
YAML
### YamlMime:JavaType
|
|
uid: "com.azure.core.amqp.FixedAmqpRetryPolicy"
|
|
fullName: "com.azure.core.amqp.FixedAmqpRetryPolicy"
|
|
name: "FixedAmqpRetryPolicy"
|
|
nameWithType: "FixedAmqpRetryPolicy"
|
|
summary: "A policy to govern retrying of messaging operations in which the base delay between retries remains the same."
|
|
inheritances:
|
|
- "<xref href=\"java.lang.Object?displayProperty=fullName\" data-throw-if-not-resolved=\"False\" />"
|
|
- "<xref href=\"com.azure.core.amqp.AmqpRetryPolicy?displayProperty=fullName\" data-throw-if-not-resolved=\"False\" />"
|
|
inheritedClassMethods:
|
|
- classRef: "<xref href=\"com.azure.core.amqp.AmqpRetryPolicy?alt=com.azure.core.amqp.AmqpRetryPolicy&text=AmqpRetryPolicy\" data-throw-if-not-resolved=\"False\" />"
|
|
methodsRef:
|
|
- "<xref href=\"com.azure.core.amqp.AmqpRetryPolicy.calculateRetryDelay(int,java.time.Duration,java.time.Duration,java.util.concurrent.ThreadLocalRandom)?alt=com.azure.core.amqp.AmqpRetryPolicy.calculateRetryDelay&text=calculateRetryDelay\" data-throw-if-not-resolved=\"False\" />"
|
|
- "<xref href=\"com.azure.core.amqp.AmqpRetryPolicy.calculateRetryDelay(java.lang.Throwable,int)?alt=com.azure.core.amqp.AmqpRetryPolicy.calculateRetryDelay&text=calculateRetryDelay\" data-throw-if-not-resolved=\"False\" />"
|
|
- "<xref href=\"com.azure.core.amqp.AmqpRetryPolicy.equals(java.lang.Object)?alt=com.azure.core.amqp.AmqpRetryPolicy.equals&text=equals\" data-throw-if-not-resolved=\"False\" />"
|
|
- "<xref href=\"com.azure.core.amqp.AmqpRetryPolicy.getMaxRetries()?alt=com.azure.core.amqp.AmqpRetryPolicy.getMaxRetries&text=getMaxRetries\" data-throw-if-not-resolved=\"False\" />"
|
|
- "<xref href=\"com.azure.core.amqp.AmqpRetryPolicy.getRetryOptions()?alt=com.azure.core.amqp.AmqpRetryPolicy.getRetryOptions&text=getRetryOptions\" data-throw-if-not-resolved=\"False\" />"
|
|
- "<xref href=\"com.azure.core.amqp.AmqpRetryPolicy.hashCode()?alt=com.azure.core.amqp.AmqpRetryPolicy.hashCode&text=hashCode\" data-throw-if-not-resolved=\"False\" />"
|
|
- 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#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#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 **FixedAmqpRetryPolicy**</br> extends <xref href=\"com.azure.core.amqp.AmqpRetryPolicy?alt=com.azure.core.amqp.AmqpRetryPolicy&text=AmqpRetryPolicy\" data-throw-if-not-resolved=\"False\" />"
|
|
constructors:
|
|
- uid: "com.azure.core.amqp.FixedAmqpRetryPolicy.FixedAmqpRetryPolicy(com.azure.core.amqp.AmqpRetryOptions)"
|
|
fullName: "com.azure.core.amqp.FixedAmqpRetryPolicy.FixedAmqpRetryPolicy(AmqpRetryOptions retryOptions)"
|
|
name: "FixedAmqpRetryPolicy(AmqpRetryOptions retryOptions)"
|
|
nameWithType: "FixedAmqpRetryPolicy.FixedAmqpRetryPolicy(AmqpRetryOptions retryOptions)"
|
|
summary: "Creates an instance with the given retry options."
|
|
parameters:
|
|
- description: "The options to set on this retry policy."
|
|
name: "retryOptions"
|
|
type: "<xref href=\"com.azure.core.amqp.AmqpRetryOptions?alt=com.azure.core.amqp.AmqpRetryOptions&text=AmqpRetryOptions\" data-throw-if-not-resolved=\"False\" />"
|
|
syntax: "public FixedAmqpRetryPolicy(AmqpRetryOptions retryOptions)"
|
|
desc: "Creates an instance with the given retry options."
|
|
methods:
|
|
- uid: "com.azure.core.amqp.FixedAmqpRetryPolicy.calculateRetryDelay(int,java.time.Duration,java.time.Duration,java.util.concurrent.ThreadLocalRandom)"
|
|
fullName: "com.azure.core.amqp.FixedAmqpRetryPolicy.calculateRetryDelay(int retryCount, Duration baseDelay, Duration baseJitter, ThreadLocalRandom random)"
|
|
name: "calculateRetryDelay(int retryCount, Duration baseDelay, Duration baseJitter, ThreadLocalRandom random)"
|
|
nameWithType: "FixedAmqpRetryPolicy.calculateRetryDelay(int retryCount, Duration baseDelay, Duration baseJitter, ThreadLocalRandom random)"
|
|
summary: "Calculates the delay for a fixed backoff."
|
|
modifiers:
|
|
- "protected"
|
|
overridden: "com.azure.core.amqp.AmqpRetryPolicy.calculateRetryDelay(int,java.time.Duration,java.time.Duration,java.util.concurrent.ThreadLocalRandom)"
|
|
parameters:
|
|
- description: "The number of attempts that have been made, including the initial attempt before any\n retries."
|
|
name: "retryCount"
|
|
type: "<xref href=\"int?alt=int&text=int\" data-throw-if-not-resolved=\"False\" />"
|
|
- description: "The delay to use for the fixed backoff."
|
|
name: "baseDelay"
|
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/time/Duration.html\">Duration</a>"
|
|
- description: "The duration to use for the basis of the random jitter value."
|
|
name: "baseJitter"
|
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/time/Duration.html\">Duration</a>"
|
|
- description: "The random number generator used to calculate the jitter."
|
|
name: "random"
|
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/ThreadLocalRandom.html\">ThreadLocalRandom</a>"
|
|
syntax: "protected Duration calculateRetryDelay(int retryCount, Duration baseDelay, Duration baseJitter, ThreadLocalRandom random)"
|
|
desc: "Calculates the delay for a fixed backoff."
|
|
returns:
|
|
description: "The duration to delay before retrying a request."
|
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/time/Duration.html\">Duration</a>"
|
|
- uid: "com.azure.core.amqp.FixedAmqpRetryPolicy.equals(java.lang.Object)"
|
|
fullName: "com.azure.core.amqp.FixedAmqpRetryPolicy.equals(Object obj)"
|
|
name: "equals(Object obj)"
|
|
nameWithType: "FixedAmqpRetryPolicy.equals(Object obj)"
|
|
overridden: "com.azure.core.amqp.AmqpRetryPolicy.equals(java.lang.Object)"
|
|
parameters:
|
|
- name: "obj"
|
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html\">Object</a>"
|
|
syntax: "public boolean equals(Object obj)"
|
|
returns:
|
|
type: "<xref href=\"boolean?alt=boolean&text=boolean\" data-throw-if-not-resolved=\"False\" />"
|
|
- uid: "com.azure.core.amqp.FixedAmqpRetryPolicy.hashCode()"
|
|
fullName: "com.azure.core.amqp.FixedAmqpRetryPolicy.hashCode()"
|
|
name: "hashCode()"
|
|
nameWithType: "FixedAmqpRetryPolicy.hashCode()"
|
|
overridden: "com.azure.core.amqp.AmqpRetryPolicy.hashCode()"
|
|
syntax: "public int hashCode()"
|
|
returns:
|
|
type: "<xref href=\"int?alt=int&text=int\" data-throw-if-not-resolved=\"False\" />"
|
|
type: "class"
|
|
desc: "A policy to govern retrying of messaging operations in which the base delay between retries remains the same."
|
|
metadata: {}
|
|
package: "com.azure.core.amqp"
|
|
artifact: com.azure:azure-core-amqp:2.9.11
|