Package dev.failsafe.event
Class ExecutionScheduledEvent<R>
java.lang.Object
dev.failsafe.event.ExecutionEvent
dev.failsafe.event.ExecutionScheduledEvent<R>
- Type Parameters:
R
- result type
Indicates an execution was scheduled. A scheduled execution will be executed after the
delay
unless it is cancelled, either explicitly or via Future.cancel(boolean)
, a Timeout
, or if the underlying Scheduler
or ExecutorService
is shutdown.-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionExecutionScheduledEvent
(R result, Throwable exception, Duration delay, ExecutionContext<R> context) -
Method Summary
Methods inherited from class dev.failsafe.event.ExecutionEvent
getAttemptCount, getElapsedAttemptTime, getElapsedTime, getExecutionCount, getStartTime, isFirstAttempt, isRetry
-
Field Details
-
result
-
exception
-
delay
-
-
Constructor Details
-
ExecutionScheduledEvent
public ExecutionScheduledEvent(R result, Throwable exception, Duration delay, ExecutionContext<R> context)
-
-
Method Details