RetryPolicyFactory Interface
public interface RetryPolicyFactory
Represents a retry policy factory that creates a new RetryPolicy object per transaction.
Method Summary
Modifier and Type | Method and Description |
---|---|
Retry |
createInstance(OperationContext opContext)
Creates a new RetryPolicy object for the current request attempt. |
Method Details
createInstance
public RetryPolicy createInstance(OperationContext opContext)
Creates a new RetryPolicy object for the current request attempt.
Parameters:
opContext
- An OperationContext 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.
Returns:
A RetryPolicy object that represents the new retry policy for the current request attempt.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for Java