R - result typepublic abstract class AbstractExecution<R> extends ExecutionContext<R>
| Modifier and Type | Method and Description |
|---|---|
Duration |
getWaitTime()
Returns the time to wait before the next execution attempt.
|
boolean |
isComplete()
Returns whether the execution is complete or if it can be retried.
|
copy, getAttemptCount, getElapsedAttemptTime, getElapsedTime, getExecutionCount, getLastFailure, getLastResult, getLastResult, getStartTime, isCancelled, isFirstAttempt, isRetry, toStringpublic Duration getWaitTime()
0 if an execution has not yet
occurred.public boolean isComplete()
Copyright © 2021. All rights reserved.