class ExponentialRetryScheduler implements RetryScheduler

Methods

__construct($base = 5)

No description

scheduleNextRetry(Job $originalJob)

Schedules the next retry of a job.

Details

at line 11
__construct($base = 5)

Parameters

$base

at line 16
DateTime scheduleNextRetry(Job $originalJob)

Schedules the next retry of a job.

When this method is called, it has already been decided that a retry should be attempted. The implementation should needs to decide when that should happen.

Parameters

Job $originalJob

Return Value

DateTime