Class AbstractBackoffStrategy
Abstract backoff strategy that allows for a chain of responsibility
- Guzzle\Plugin\Backoff\AbstractBackoffStrategy implements Guzzle\Plugin\Backoff\BackoffStrategyInterface
Direct known subclasses
Guzzle\Plugin\Backoff\AbstractErrorCodeBackoffStrategy, Guzzle\Plugin\Backoff\CallbackBackoffStrategy, Guzzle\Plugin\Backoff\ConstantBackoffStrategy, Guzzle\Plugin\Backoff\ExponentialBackoffStrategy, Guzzle\Plugin\Backoff\LinearBackoffStrategy, Guzzle\Plugin\Backoff\TruncatedBackoffStrategyIndirect known subclasses
Guzzle\Plugin\Backoff\CurlBackoffStrategy, Guzzle\Plugin\Backoff\HttpBackoffStrategy, Guzzle\Plugin\Backoff\ReasonPhraseBackoffStrategy
Abstract
Namespace: Guzzle\Plugin\Backoff
Located at src/Guzzle/Plugin/Backoff/AbstractBackoffStrategy.php
Namespace: Guzzle\Plugin\Backoff
Located at src/Guzzle/Plugin/Backoff/AbstractBackoffStrategy.php
public
|
|
public
|
|
public
boolean|integer
|
#
getBackoffPeriod( integer $retries,
Get the amount of time to delay in seconds before retrying a request |
abstract public
boolean
|
#
makesDecision( )
Check if the strategy does filtering and makes decisions on whether or not to retry. |
abstract protected
boolean|integer|null
|
#
getDelay( integer $retries,
Implement the concrete strategy |
protected
|
$next
Next strategy in the chain |