Class Guzzle\Plugin\Backoff\ExponentialBackoffStrategy

InheritanceGuzzle\Plugin\Backoff\ExponentialBackoffStrategy » Guzzle\Plugin\Backoff\AbstractBackoffStrategy
ImplementsGuzzle\Plugin\Backoff\BackoffStrategyInterface

Implements an exponential backoff retry strategy.

Warning: If no decision making strategies precede this strategy in the the chain, then all requests will be retried

Protected Properties

Hide inherited properties

PropertyTypeDescriptionDefined By
$next Guzzle\Plugin\Backoff\AbstractBackoffStrategy Next strategy in the chain Guzzle\Plugin\Backoff\AbstractBackoffStrategy

Method Details

getDelay() protected method

protected void getDelay ( $retries, Guzzle\Http\Message\RequestInterface $request, Guzzle\Http\Message\Response $response null, Guzzle\Http\Exception\HttpException $e null )
$retries
$request
$response
$e
makesDecision() public method

public void makesDecision ( )