Package | Description |
---|---|
com.microsoft.azure.storage |
This package contains the storage service base classes.
|
Modifier and Type | Method and Description |
---|---|
RetryContext |
RetryingEvent.getRetryContext()
Gets the context for a retry of a request made against the storage services.
|
Modifier and Type | Method and Description |
---|---|
abstract RetryInfo |
RetryPolicy.evaluate(RetryContext retryContext,
OperationContext operationContext)
Determines whether the operation should be retried and specifies the interval until the next retry.
|
RetryInfo |
RetryLinearRetry.evaluate(RetryContext retryContext,
OperationContext operationContext)
Determines whether the operation should be retried and specifies the interval until the next retry.
|
RetryInfo |
RetryExponentialRetry.evaluate(RetryContext retryContext,
OperationContext operationContext)
Determines whether the operation should be retried and specifies the interval until the next retry.
|
RetryInfo |
RetryNoRetry.evaluate(RetryContext retryContext,
OperationContext operationContext)
Determines whether the operation should be retried and specifies the interval until the next retry.
|
protected boolean |
RetryPolicy.evaluateLastAttemptAndSecondaryNotFound(RetryContext retryContext)
Determines the time of the last attempt to a storage location and returns a
boolean that specifies
if a request that was sent to the secondary location failed with 404. |
protected RetryInfo |
RetryPolicy.evaluateRetryInfo(RetryContext retryContext,
boolean secondaryNotFound,
long retryInterval)
Determines the
RetryInfo object that indicates whether the next retry will happen in the primary or
secondary location, and specifies the location mode. |
Constructor and Description |
---|
RetryInfo(RetryContext retryContext)
Initializes a new instance of the "RetryInfo" class.
|
RetryingEvent(OperationContext opContext,
Object connectionObject,
RequestResult requestResult,
RetryContext retryContext)
Creates an instance of the
BaseEvent class which is fired when a request is retried. |
Copyright © 2019. All rights reserved.