R - result typepublic interface AsyncExecutionInternal<R> extends ExecutionInternal<R>, AsyncExecution<R>
| Modifier and Type | Method and Description |
|---|---|
AsyncExecutionInternal<R> |
copy()
Returns a new copy of the AsyncExecutionInternal.
|
boolean |
isAsyncExecution()
Returns whether the execution is an async integration execution.
|
boolean |
isPostExecuted(int policyIndex)
Returns whether the PolicyExecutor corresponding to the
policyIndex has already post-executed. |
boolean |
isRecorded()
Returns whether one of the public
AsyncExecution record or complete methods have been called. |
void |
setPostExecuted(int policyIndex)
Sets the PolicyExecutor corresponding to the
policyIndex as having post-executed. |
cancel, cancel, getLatest, getLock, getResult, isCancelled, isPreExecuted, preExecute, record, recordAttemptcomplete, isComplete, record, recordException, recordResultgetAttemptCount, getElapsedAttemptTime, getElapsedTime, getExecutionCount, getLastException, getLastResult, getLastResult, getStartTime, isCancelled, isFirstAttempt, isRetry, onCancelboolean isAsyncExecution()
boolean isRecorded()
AsyncExecution record or complete methods have been called.void setPostExecuted(int policyIndex)
policyIndex as having post-executed.boolean isPostExecuted(int policyIndex)
policyIndex has already post-executed.AsyncExecutionInternal<R> copy()
Copyright © 2022. All rights reserved.