BestEffortRetryStrategy
in package
implements
RetryStrategy
Interfaces, Classes, Traits and Enums
Table of Contents
- $calculator : BackoffCalculator
- __construct() : mixed
- build() : BestEffortRetryStrategy
- retryAfter() : RetryAction
Properties
$calculator
private
BackoffCalculator
$calculator
Methods
__construct()
public
__construct([BackoffCalculator $calculator = null ]) : mixed
Parameters
- $calculator : BackoffCalculator = null
Return values
mixed —build()
public
static build() : BestEffortRetryStrategy
Return values
BestEffortRetryStrategy —retryAfter()
public
retryAfter(ProtostellarRequest $request, RetryReason $reason) : RetryAction
Parameters
- $request : ProtostellarRequest
- $reason : RetryReason