|Constructor and Description|
|Modifier and Type||Method and Description|
Generates a new retry policy for the current request attempt.
Determines whether the operation should be retried and specifies the interval until the next retry.
Returns the static instance of a no retry policy.
public static RetryNoRetry getInstance()
RetryNoRetryobject that represents a no retry policy.
public RetryPolicy createInstance(OperationContext opContext)
OperationContextobject 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.
RetryPolicyobject that represents the retry policy for the current request attempt.
public RetryInfo evaluate(RetryContext retryContext, OperationContext operationContext)
RetryContextobject 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.
OperationContextobject for tracking the current operation.
RetryInfoobject that indicates whether the next retry will happen in the primary or secondary location, and specifies the location mode. If
null, the operation will not be retried.
Copyright © 2018. All Rights Reserved.