Class CallbackBackoffStrategy
Strategy that will invoke a closure to determine whether or not to retry with a delay
- Guzzle\Plugin\Backoff\AbstractBackoffStrategy implements Guzzle\Plugin\Backoff\BackoffStrategyInterface
- Guzzle\Plugin\Backoff\CallbackBackoffStrategy
public
|
#
__construct(
|
public
boolean
|
#
makesDecision( )
Check if the strategy does filtering and makes decisions on whether or not to retry. |
protected
boolean|integer|null
|
#
getDelay( integer $retries,
Implement the concrete strategy |
getBackoffPeriod(),
getNext(),
setNext()
|
protected
|
$callback
Callable method to invoke |
|
protected
boolean
|
$decision
Whether or not this strategy makes a retry decision |
$next
|