R - result typepublic class ExecutionAttemptedEvent<R> extends ExecutionEvent
| Constructor and Description |
|---|
ExecutionAttemptedEvent(R result,
Throwable failure,
ExecutionContext<R> context) |
| Modifier and Type | Method and Description |
|---|---|
Throwable |
getLastFailure()
Returns the failure that preceded the event, else
null if there was none. |
R |
getLastResult()
Returns the result that preceded the event, else
null if there was none. |
String |
toString() |
getAttemptCount, getElapsedAttemptTime, getElapsedTime, getExecutionCount, getStartTimepublic ExecutionAttemptedEvent(R result, Throwable failure, ExecutionContext<R> context)
Copyright © 2021. All rights reserved.