| Modifier and Type | Method and Description |
|---|---|
ReschedulingObserver |
BackoffScheduler.reschedule(BackoffRunnable runnable,
SchedulingConfiguration configuration)
Notifies the
BackoffRunnable must be rescheduled with defined SchedulingConfiguration. |
void |
BackoffScheduler.schedule(BackoffRunnable runnable,
SchedulingConfiguration configuration,
FastRecoveryObserver... recoveryObservers)
Schedules a task in fast recovery mode:
BackoffRunnable will be executed until its first success. |
void |
BackoffScheduler.scheduleWithFixedDelay(BackoffRunnable runnable,
SchedulingConfiguration configuration)
Schedules a task in rescheduling mode:
BackoffRunnable will be indefinitely scheduled, but with different paces
depending on each execution status. |
| Modifier and Type | Method and Description |
|---|---|
static SchedulingConfiguration |
SchedulingConfiguration.configuration(com.mulesoft.mule.runtime.gw.api.time.period.Period delay)
Creates an instance of this with the configured delay and no frequency.
|
static SchedulingConfiguration |
SchedulingConfiguration.configuration(com.mulesoft.mule.runtime.gw.api.time.period.Period delay,
com.mulesoft.mule.runtime.gw.api.time.period.Period frequency)
Creates an instance of this with the configured delay and frequency.
|
| Constructor and Description |
|---|
FastRecoveryConfiguration(SchedulingConfiguration configuration,
List<FastRecoveryObserver> observers) |
| Modifier and Type | Method and Description |
|---|---|
ReschedulingObserver |
ReschedulingObserver.reschedule(BackoffRunnable runnable,
SchedulingConfiguration configuration)
Notifies the
BackoffRunnable must be rescheduled with defined SchedulingConfiguration. |
| Constructor and Description |
|---|
Reschedulable(BackoffRunnable runnable,
SchedulingConfiguration configuration,
ReschedulingObserver reschedulingObserver) |
| Modifier and Type | Method and Description |
|---|---|
static SchedulingConfiguration |
BackoffRunnableRetrier.delayInitialScheduling(int initialDelay) |
static SchedulingConfiguration |
BackoffRunnableRetrier.zeroDelayOnScheduling() |
| Modifier and Type | Method and Description |
|---|---|
BackoffRunnableRetrier.Builder<T> |
BackoffRunnableRetrier.Builder.scheduler(BackoffSchedulerFactory schedulerFactory,
SchedulingConfiguration configuration) |
Copyright © 2014–2021 MuleSoft, Inc.. All rights reserved.