T - type of key.public class BackoffWhilstAlone<T> extends BackoffRetrierBarrier<T>
SessionMetadata requires retry and no other task is queued in the RunnableRetrier. If so, it means there
is a newer task to be processed.
Use this barrier when BackoffRunnables are independent from each other, and only the last one is
needed.key, retrier| Constructor and Description |
|---|
BackoffWhilstAlone() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
shouldBackoff(SessionMetadata sessionMetadata,
BackoffConfiguration configuration)
Defines whether backoff must be performed, depending on a
BackoffConfiguration. |
gotError, initialisepublic boolean shouldBackoff(SessionMetadata sessionMetadata, BackoffConfiguration configuration)
BackoffBarrierBackoffConfiguration.Copyright © 2014–2021 MuleSoft, Inc.. All rights reserved.