Uses of Class
dev.failsafe.event.ExecutionCompletedEvent
-
Packages that use ExecutionCompletedEvent Package Description dev.failsafe APIs for performing failsafe executions.dev.failsafe.internal -
-
Uses of ExecutionCompletedEvent in dev.failsafe
Fields in dev.failsafe with type parameters of type ExecutionCompletedEvent Modifier and Type Field Description (package private) EventListener<ExecutionCompletedEvent<R>>
RetryPolicyConfig. abortListener
(package private) EventListener<ExecutionCompletedEvent<R>>
PolicyConfig. failureListener
(package private) EventListener<ExecutionCompletedEvent<R>>
RetryPolicyConfig. retriesExceededListener
(package private) EventListener<ExecutionCompletedEvent<R>>
PolicyConfig. successListener
Methods in dev.failsafe that return types with arguments of type ExecutionCompletedEvent Modifier and Type Method Description EventListener<ExecutionCompletedEvent<R>>
RetryPolicyConfig. getAbortListener()
Returns the abort event listener.EventListener<ExecutionCompletedEvent<R>>
PolicyConfig. getFailureListener()
Returns the failure listener.EventListener<ExecutionCompletedEvent<R>>
RetryPolicyConfig. getRetriesExceededListener()
Returns the retries exceeded event listener.EventListener<ExecutionCompletedEvent<R>>
PolicyConfig. getSuccessListener()
Returns the success listener.Method parameters in dev.failsafe with type arguments of type ExecutionCompletedEvent Modifier and Type Method Description RetryPolicyBuilder<R>
RetryPolicyBuilder. onAbort(EventListener<ExecutionCompletedEvent<R>> listener)
Registers thelistener
to be called when an execution is aborted.FailsafeExecutor<R>
FailsafeExecutor. onComplete(EventListener<ExecutionCompletedEvent<R>> listener)
Registers thelistener
to be called when an execution is complete.FailsafeExecutor<R>
FailsafeExecutor. onFailure(EventListener<ExecutionCompletedEvent<R>> listener)
Registers thelistener
to be called when an execution fails.S
PolicyBuilder. onFailure(EventListener<ExecutionCompletedEvent<R>> listener)
S
PolicyListeners. onFailure(EventListener<ExecutionCompletedEvent<R>> listener)
Registers thelistener
to be called when the policy fails to handle an execution.RetryPolicyBuilder<R>
RetryPolicyBuilder. onRetriesExceeded(EventListener<ExecutionCompletedEvent<R>> listener)
Registers thelistener
to be called when an execution fails and themax retry attempts
ormax duration
are exceeded.FailsafeExecutor<R>
FailsafeExecutor. onSuccess(EventListener<ExecutionCompletedEvent<R>> listener)
Registers thelistener
to be called when an execution is successful.S
PolicyBuilder. onSuccess(EventListener<ExecutionCompletedEvent<R>> listener)
S
PolicyListeners. onSuccess(EventListener<ExecutionCompletedEvent<R>> listener)
Registers thelistener
to be called when the policy succeeds in handling an execution. -
Uses of ExecutionCompletedEvent in dev.failsafe.internal
Method parameters in dev.failsafe.internal with type arguments of type ExecutionCompletedEvent Modifier and Type Method Description static <R> EventHandler<R>
EventHandler. ofExecutionCompleted(EventListener<ExecutionCompletedEvent<R>> handler)
-