AZSRetryPolicyNoRetry Class Reference

Inherits from NSObject
Conforms to AZSRetryPolicy
Declared in AZSRetryPolicy.h
AZSRetryPolicy.m

Overview

The simplest possible retry policy, tells the library to never retry anything.

– evaluateRetryContext:withOperationContext:

The method that evaluates the RetryContext to determine if the request should be retried or not.

- (AZSRetryInfo *)evaluateRetryContext:(AZSRetryContext *)retryContext withOperationContext:(AZSOperationContext *)operationContext

Parameters

retryContext

The AZSRetryContext containing information about the most recent request.

operationContext

The AZSOperationContext for the entire operation thus far.

Return Value

An AZSRetryInfo object that contains whether or not the request should be retried, and if so, how long to wait until the next trial.

Discussion

The method that evaluates the RetryContext to determine if the request should be retried or not.

Declared In

AZSRetryPolicy.h

– clone

Clone this retry policy. Required internally in the library. Must return a fresh instance with the same parameters.

- (id<AZSRetryPolicy>)clone

Return Value

The cloned retry policy.

Discussion

Clone this retry policy. Required internally in the library. Must return a fresh instance with the same parameters.

Declared In

AZSRetryPolicy.h