RetryBackoff
final class RetryBackoff
| internal |
Methods
float
nextDelay(float|null $remainingSeconds = null)
Return the next jittered retry delay in seconds.
void
reset()
Reset the exponential retry sequence.
float|null
pushbackDelay(string|array $value)
Resolve a present retry-pushback header and reset the sequence.
Details
at line 17
__construct(RetryPolicy $policy, Randomizer $randomizer = new Randomizer())
No description
at line 26
float
nextDelay(float|null $remainingSeconds = null)
Return the next jittered retry delay in seconds.
at line 50
void
reset()
Reset the exponential retry sequence.
at line 58
float|null
pushbackDelay(string|array $value)
Resolve a present retry-pushback header and reset the sequence.