T - key type.public abstract class BackoffRetrierBarrier<T> extends Object implements BackoffBarrier
BackoffBarrier with a retrier and the key (of type T) to which this object applies to.| Modifier and Type | Field and Description |
|---|---|
protected T |
key |
protected RunnableRetrier<T> |
retrier |
| Constructor and Description |
|---|
BackoffRetrierBarrier() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
gotError(SessionMetadata sessionMetadata)
Defines whether error occurred in the execution, depending on the
SessionMetadata. |
void |
initialise(T key,
BackoffRunnableRetrier<T> runnableRetrier) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitshouldBackoffprotected T key
protected RunnableRetrier<T> retrier
public void initialise(T key, BackoffRunnableRetrier<T> runnableRetrier)
public boolean gotError(SessionMetadata sessionMetadata)
BackoffBarrierSessionMetadata.gotError in interface BackoffBarrierCopyright © 2014–2021 MuleSoft, Inc.. All rights reserved.