azure-docs-sdk-java/archive/docs-ref-autogen/com.microsoft.azure.storage...

91 строка
6.9 KiB
YAML

### YamlMime:JavaType
constructors:
- fullName: com.microsoft.azure.storage.RetryLinearRetry.RetryLinearRetry()
name: RetryLinearRetry()
nameWithType: RetryLinearRetry.RetryLinearRetry()
summary: <p>Creates an instance of the class. </p>
syntax: public RetryLinearRetry()
uid: com.microsoft.azure.storage.RetryLinearRetry.RetryLinearRetry()
- fullName: com.microsoft.azure.storage.RetryLinearRetry.RetryLinearRetry(final int deltaBackoff, final int maxAttempts)
name: RetryLinearRetry(final int deltaBackoff, final int maxAttempts)
nameWithType: RetryLinearRetry.RetryLinearRetry(final int deltaBackoff, final int maxAttempts)
parameters:
- description: <p>The backoff interval, in milliseconds, between retries. </p>
name: deltaBackoff
type: <xref href="final+int?alt=final+int&text=final+int" data-throw-if-not-resolved="False"/>
- description: <p>The maximum number of retry attempts. </p>
name: maxAttempts
type: <xref href="final+int?alt=final+int&text=final+int" data-throw-if-not-resolved="False"/>
summary: >-
<p>Creates an instance of the class using the specified delta backoff and maximum retry attempts.</p>
<p></p>
syntax: public RetryLinearRetry(final int deltaBackoff, final int maxAttempts)
uid: com.microsoft.azure.storage.RetryLinearRetry.RetryLinearRetry(final int,final int)
inheritances:
- <xref href="java.lang.Object" data-throw-if-not-resolved="False"/>
- <xref href="com.microsoft.azure.storage.RetryPolicyFactory?alt=com.microsoft.azure.storage.RetryPolicyFactory&text=RetryPolicyFactory" data-throw-if-not-resolved="False"/>
- <xref href="com.microsoft.azure.storage.RetryPolicy?alt=com.microsoft.azure.storage.RetryPolicy&text=RetryPolicy" data-throw-if-not-resolved="False"/>
inheritedMembers:
- com.microsoft.azure.storage.RetryPolicy.DEFAULT_CLIENT_BACKOFF
- com.microsoft.azure.storage.RetryPolicy.DEFAULT_CLIENT_RETRY_COUNT
- com.microsoft.azure.storage.RetryPolicy.DEFAULT_MAX_BACKOFF
- com.microsoft.azure.storage.RetryPolicy.DEFAULT_MIN_BACKOFF
- com.microsoft.azure.storage.RetryPolicy.deltaBackoffIntervalInMs
- com.microsoft.azure.storage.RetryPolicy.evaluateLastAttemptAndSecondaryNotFound(RetryContext)
- com.microsoft.azure.storage.RetryPolicy.evaluateRetryInfo(final RetryContext,final boolean,final long)
- com.microsoft.azure.storage.RetryPolicy.lastPrimaryAttempt
- com.microsoft.azure.storage.RetryPolicy.lastSecondaryAttempt
- com.microsoft.azure.storage.RetryPolicy.maximumAttempts
- com.microsoft.azure.storage.RetryPolicy.RetryPolicy()
- com.microsoft.azure.storage.RetryPolicy.RetryPolicy(final int,final int)
methods:
- fullName: com.microsoft.azure.storage.RetryLinearRetry.createInstance(final OperationContext opContext)
name: createInstance(final OperationContext opContext)
nameWithType: RetryLinearRetry.createInstance(final OperationContext opContext)
overridden: com.microsoft.azure.storage.RetryPolicyFactory.createInstance(OperationContext)
parameters:
- description: <p>An <xref uid="com.microsoft.azure.storage.OperationContext" data-throw-if-not-resolved="false" data-raw-source="OperationContext"></xref> object that represents the context for the current operation. This object is used to track requests to the storage service, and to provide additional runtime information about the operation.</p>
name: opContext
type: final <xref href="com.microsoft.azure.storage.OperationContext?alt=com.microsoft.azure.storage.OperationContext&text=OperationContext" data-throw-if-not-resolved="False"/>
returns:
description: <p>A <xref uid="com.microsoft.azure.storage.RetryPolicy" data-throw-if-not-resolved="false" data-raw-source="RetryPolicy"></xref> object that represents the retry policy for the current request attempt. </p>
type: <xref href="com.microsoft.azure.storage.RetryPolicy?alt=com.microsoft.azure.storage.RetryPolicy&text=RetryPolicy" data-throw-if-not-resolved="False"/>
summary: >-
<p>Generates a new retry policy for the current request attempt.</p>
<p></p>
syntax: public RetryPolicy createInstance(final OperationContext opContext)
uid: com.microsoft.azure.storage.RetryLinearRetry.createInstance(final OperationContext)
- fullName: com.microsoft.azure.storage.RetryLinearRetry.evaluate(RetryContext retryContext, OperationContext operationContext)
name: evaluate(RetryContext retryContext, OperationContext operationContext)
nameWithType: RetryLinearRetry.evaluate(RetryContext retryContext, OperationContext operationContext)
parameters:
- description: <p>A <xref uid="com.microsoft.azure.storage.RetryContext" data-throw-if-not-resolved="false" data-raw-source="RetryContext"></xref> object that indicates the number of retries, last request's results, whether the next retry should happen in the primary or secondary location, and specifies the location mode. </p>
name: retryContext
type: <xref href="com.microsoft.azure.storage.RetryContext?alt=com.microsoft.azure.storage.RetryContext&text=RetryContext" data-throw-if-not-resolved="False"/>
- description: <p>An <xref uid="com.microsoft.azure.storage.OperationContext" data-throw-if-not-resolved="false" data-raw-source="OperationContext"></xref> object for tracking the current operation. </p>
name: operationContext
type: <xref href="com.microsoft.azure.storage.OperationContext?alt=com.microsoft.azure.storage.OperationContext&text=OperationContext" data-throw-if-not-resolved="False"/>
returns:
description: <p>A <xref uid="com.microsoft.azure.storage.RetryInfo" data-throw-if-not-resolved="false" data-raw-source="RetryInfo"></xref> object that indicates whether the next retry will happen in the primary or secondary location, and specifies the location mode. If <code>null</code>, the operation will not be retried. </p>
type: <xref href="com.microsoft.azure.storage.RetryInfo?alt=com.microsoft.azure.storage.RetryInfo&text=RetryInfo" data-throw-if-not-resolved="False"/>
summary: >-
<p>Determines whether the operation should be retried and specifies the interval until the next retry.</p>
<p></p>
syntax: public RetryInfo evaluate(RetryContext retryContext, OperationContext operationContext)
uid: com.microsoft.azure.storage.RetryLinearRetry.evaluate(RetryContext,OperationContext)
nameWithType: RetryLinearRetry
syntax: public class RetryLinearRetry extends RetryPolicy implements RetryPolicyFactory
type: class
uid: com.microsoft.azure.storage.RetryLinearRetry
fullName: com.microsoft.azure.storage.RetryLinearRetry
name: RetryLinearRetry
package: com.microsoft.azure.storage
summary: >-
<p>Represents a retry policy that performs a specified number of retries, using a specified fixed time interval between retries.</p>
<p>This class extends the <xref uid="com.microsoft.azure.storage.RetryPolicy" data-throw-if-not-resolved="false" data-raw-source="RetryPolicy"></xref> class and implements the <xref uid="com.microsoft.azure.storage.RetryPolicyFactory" data-throw-if-not-resolved="false" data-raw-source="RetryPolicyFactory"></xref> interface. </p>
metadata: {}