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
RetryPolicy 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