Retry implementation.

Unlike {@see \Google\Cloud\Core\ExponentialBackoff}, Retry requires an implementor
to supply wait times for each iteration.

CloneableInstantiable
Methods
public __construct( $retries, callable $delayFunction, ?callable $retryFunction = NULL)
 
    public execute(callable $function, array $arguments = [])
     

    Executes the retry process.

    • return mixed
    • throws Exception The last exception caught while retrying.
    public setDelayFunction(callable $delayFunction)
     
    • return void
    Properties
    private $delayFunction
     
    • var callable
    private $retries
     
    • var int
    private $retryFunction
     
    • var callable|null
    © 2020 Bruce Wells
    Search Namespaces \ Classes
    ConfigurationNumbers (0-9.) only