Package dev.failsafe.event
Class ExecutionAttemptedEvent<R>
java.lang.Object
dev.failsafe.event.ExecutionEvent
dev.failsafe.event.ExecutionAttemptedEvent<R>
- Type Parameters:
R
- result type
Indicates an execution was attempted.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionExecutionAttemptedEvent
(R result, Throwable exception, ExecutionContext<R> context) -
Method Summary
Modifier and TypeMethodDescriptionReturns the failure that preceded the event, elsenull
if there was none.Returns the result that preceded the event, elsenull
if there was none.toString()
Methods inherited from class dev.failsafe.event.ExecutionEvent
getAttemptCount, getElapsedAttemptTime, getElapsedTime, getExecutionCount, getStartTime, isFirstAttempt, isRetry
-
Field Details
-
result
-
exception
-
-
Constructor Details
-
ExecutionAttemptedEvent
-
-
Method Details