Documentation

RetryFailedConfig
in package

This class is automatically generated to help in creating a config.

Table of Contents

Properties

$_usedProperties  : mixed
$delay  : mixed
$enabled  : mixed
$httpCodes  : mixed
$jitter  : mixed
$maxDelay  : mixed
$maxRetries  : mixed
$multiplier  : mixed
$retryStrategy  : mixed

Methods

__construct()  : mixed
delay()  : $this
Time in ms to delay (or the initial value when multiplier is used)
enabled()  : $this
httpCode()  : HttpCodeConfig|$this
jitter()  : $this
Randomness in percent (between 0 and 1) to apply to the delay
maxDelay()  : $this
Max time in ms that a retry should ever be delayed (0 = infinite)
maxRetries()  : $this
multiplier()  : $this
If greater than 1, delay will grow exponentially for each retry: delay * (multiple ^ retries)
retryStrategy()  : $this
service id to override the retry strategy
toArray()  : array<string|int, mixed>

Properties

Methods

__construct()

public __construct([array<string|int, mixed> $value = [] ]) : mixed
Parameters
$value : array<string|int, mixed> = []

toArray()

public toArray() : array<string|int, mixed>
Return values
array<string|int, mixed>

        
On this page

Search results