Uses of Class
dev.failsafe.event.ExecutionCompletedEvent
Packages that use ExecutionCompletedEvent
-
Uses of ExecutionCompletedEvent in dev.failsafe
Fields in dev.failsafe with type parameters of type ExecutionCompletedEventModifier and TypeFieldDescription(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 ExecutionCompletedEventModifier and TypeMethodDescriptionRetryPolicyConfig.getAbortListener()
Returns the abort event listener.PolicyConfig.getFailureListener()
Returns the failure listener.RetryPolicyConfig.getRetriesExceededListener()
Returns the retries exceeded event listener.PolicyConfig.getSuccessListener()
Returns the success listener.Method parameters in dev.failsafe with type arguments of type ExecutionCompletedEventModifier and TypeMethodDescriptionRetryPolicyBuilder.onAbort
(EventListener<ExecutionCompletedEvent<R>> listener) Registers thelistener
to be called when an execution is aborted.FailsafeExecutor.onComplete
(EventListener<ExecutionCompletedEvent<R>> listener) Registers thelistener
to be called when an execution is complete.FailsafeExecutor.onFailure
(EventListener<ExecutionCompletedEvent<R>> listener) Registers thelistener
to be called when an execution fails.PolicyBuilder.onFailure
(EventListener<ExecutionCompletedEvent<R>> listener) PolicyListeners.onFailure
(EventListener<ExecutionCompletedEvent<R>> listener) Registers thelistener
to be called when the policy fails to handle an execution.RetryPolicyBuilder.onRetriesExceeded
(EventListener<ExecutionCompletedEvent<R>> listener) Registers thelistener
to be called when an execution fails and themax retry attempts
ormax duration
are exceeded.FailsafeExecutor.onSuccess
(EventListener<ExecutionCompletedEvent<R>> listener) Registers thelistener
to be called when an execution is successful.PolicyBuilder.onSuccess
(EventListener<ExecutionCompletedEvent<R>> listener) 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 ExecutionCompletedEventModifier and TypeMethodDescriptionstatic <R> EventHandler
<R> EventHandler.ofExecutionCompleted
(EventListener<ExecutionCompletedEvent<R>> handler)