R - result typepublic class ExecutionCompletedEvent<R> extends ExecutionEvent
| Constructor and Description |
|---|
ExecutionCompletedEvent(R result,
Throwable failure,
ExecutionContext context) |
| Modifier and Type | Method and Description |
|---|---|
Throwable |
getFailure()
Returns the failure that preceeded the event, else
null if there was none. |
R |
getResult()
Returns the result that preceeded the event, else
null if there was none. |
String |
toString() |
getAttemptCount, getElapsedTime, getStartTimepublic ExecutionCompletedEvent(R result, Throwable failure, ExecutionContext context)
Copyright © 2019. All rights reserved.