Class ExecutionCompletedEvent<R>
java.lang.Object
dev.failsafe.event.ExecutionEvent
dev.failsafe.event.ExecutionCompletedEvent<R>
- Type Parameters:
R- result type
Indicates an execution was completed or cancelled.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionExecutionCompletedEvent(R result, Throwable exception, ExecutionContext<R> context) -
Method Summary
Methods inherited from class ExecutionEvent
getAttemptCount, getElapsedAttemptTime, getElapsedTime, getExecutionCount, getStartTime, isFirstAttempt, isRetry
-
Field Details
-
result
-
exception
-
-
Constructor Details
-
ExecutionCompletedEvent
-
-
Method Details
-
getException
Returns the failure that preceded the event, elsenullif there was none. -
getResult
Returns the result that preceded the event, elsenullif there was none. -
toString
-