| Modifier and Type | Class and Description |
|---|---|
class |
BackoffScheduler
Defines a reduced scheduling interface to run
BackoffRunnables. |
| 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. |
| Modifier and Type | Method and Description |
|---|---|
void |
BackoffScheduler.schedule(BackoffRunnable runnable,
SchedulingConfiguration configuration,
FastRecoveryObserver... recoveryObservers)
Schedules a task in fast recovery mode:
BackoffRunnable will be executed until its first success. |
| Modifier and Type | Method and Description |
|---|---|
List<FastRecoveryObserver> |
FastRecoveryConfiguration.observers() |
| Constructor and Description |
|---|
FastRecoveryConfiguration(SchedulingConfiguration configuration,
List<FastRecoveryObserver> observers) |
| 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. |
| Modifier and Type | Class and Description |
|---|---|
class |
BackoffRunnableRetrier<T>
Executes multiple
Runnables in a separate thread until they complete successfully. |
| 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. |
Copyright © 2014–2021 MuleSoft, Inc.. All rights reserved.