R - result typepublic interface SyncExecutionInternal<R> extends ExecutionInternal<R>, Execution<R>
| Modifier and Type | Method and Description |
|---|---|
SyncExecutionInternal<R> |
copy()
Returns a new copy of the SyncExecutionInternal if it is not standalone, else returns
this since standalone
executions are referenced externally and cannot be replaced. |
void |
interrupt()
Interrupts the execution.
|
boolean |
isInterrupted()
Returns whether the execution is currently interrupted.
|
void |
setInterruptable(boolean interruptable)
Sets whether the execution is currently
interruptable. |
cancel, cancel, getLatest, getLock, getResult, isCancelled, isPreExecuted, preExecute, record, recordAttemptcomplete, getDelay, isComplete, of, record, recordException, recordResultgetAttemptCount, getElapsedAttemptTime, getElapsedTime, getExecutionCount, getLastException, getLastResult, getLastResult, getStartTime, isCancelled, isFirstAttempt, isRetry, onCancelboolean isInterrupted()
void setInterruptable(boolean interruptable)
interruptable.void interrupt()
SyncExecutionInternal<R> copy()
this since standalone
executions are referenced externally and cannot be replaced.Copyright © 2022. All rights reserved.