| Modifier and Type | Method and Description |
|---|---|
FastRecoveryObserver |
BackoffScheduler.fastRecoveryAbort(BackoffRunnable runnable)
Notifies the fast recovery
BackoffRunnable is now with Error. |
FastRecoveryObserver |
BackoffScheduler.fastRecoveryStable(BackoffRunnable runnable,
FastRecoveryConfiguration configuration)
Notifies the fast recovery
BackoffRunnable is now Stable. |
FastRecoveryObserver |
BackoffScheduler.fastRecoveryUnstable(BackoffRunnable runnable,
FastRecoveryConfiguration configuration)
Notifies the fast recovery
BackoffRunnable is still Unstable. |
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 |
|---|---|
FastRecoveryObserver |
FastRecoveryObserver.fastRecoveryAbort(BackoffRunnable runnable)
Notifies the fast recovery
BackoffRunnable is now with Error. |
FastRecoveryObserver |
FastRecoveryObserver.fastRecoveryStable(BackoffRunnable runnable,
FastRecoveryConfiguration configuration)
Notifies the fast recovery
BackoffRunnable is now Stable. |
FastRecoveryObserver |
FastRecoveryObserver.fastRecoveryUnstable(BackoffRunnable runnable,
FastRecoveryConfiguration configuration)
Notifies the fast recovery
BackoffRunnable is still Unstable. |
ReschedulingObserver |
ReschedulingObserver.reschedule(BackoffRunnable runnable,
SchedulingConfiguration configuration)
Notifies the
BackoffRunnable must be rescheduled with defined SchedulingConfiguration. |
| Modifier and Type | Method and Description |
|---|---|
BackoffRunnable |
BackoffRunnable.go()
Delegates its internal
State the execution of the configured closures. |
BackoffRunnable |
BackoffRunnable.ifError(Runnable closure)
|
BackoffRunnable |
BackoffRunnable.ifUnstable(Runnable closure)
|
BackoffRunnable |
BackoffRunnable.otherwise(Runnable closure)
|
| Constructor and Description |
|---|
FastRecovery(BackoffRunnable runnable,
FastRecoveryConfiguration configuration) |
Reschedulable(BackoffRunnable runnable,
SchedulingConfiguration configuration,
ReschedulingObserver reschedulingObserver) |
| Modifier and Type | Method and Description |
|---|---|
FastRecoveryObserver |
BackoffRunnableRetrier.fastRecoveryAbort(BackoffRunnable backoffRunnable)
Notifies the fast recovery
BackoffRunnable is now with Error. |
FastRecoveryObserver |
BackoffRunnableRetrier.fastRecoveryStable(BackoffRunnable backoffRunnable,
FastRecoveryConfiguration configuration)
Notifies the fast recovery
BackoffRunnable is now Stable. |
FastRecoveryObserver |
BackoffRunnableRetrier.fastRecoveryUnstable(BackoffRunnable runnable,
FastRecoveryConfiguration configuration)
Notifies the fast recovery
BackoffRunnable is still Unstable. |
| Modifier and Type | Class and Description |
|---|---|
class |
RetrierRunnable<T>
Defines a
BackoffRunnable with a key of type T that returns a SessionMetadata that only depends on
whether the inner Runnable raises an exception or not. |
Copyright © 2014–2021 MuleSoft, Inc.. All rights reserved.