Interface EventHandler<R>
- Type Parameters:
R- result type
public interface EventHandler<R>
Internal handling of events.
-
Method Summary
Modifier and TypeMethodDescriptionvoidhandle(ExecutionResult<R> result, ExecutionContext<R> context) static <R> EventHandler<R> ofExecutionAttempted(EventListener<ExecutionAttemptedEvent<R>> handler) static <R> EventHandler<R> ofExecutionCompleted(EventListener<ExecutionCompletedEvent<R>> handler) static <R> EventHandler<R> ofExecutionScheduled(EventListener<ExecutionScheduledEvent<R>> handler)
-
Method Details
-
handle
-
ofExecutionCompleted
-
ofExecutionAttempted
-
ofExecutionScheduled
-