Uses of Interface
com.tangosol.util.fsm.ExecutionContext
-
Uses of ExecutionContext in com.tangosol.util.fsm
Modifier and TypeClassDescriptionclass
NonBlockingFiniteStateMachine<S extends Enum<S>>
AnNonBlockingFiniteStateMachine
is a specializedFiniteStateMachine
implementation that performs transitions asynchronously to the threads that request state changes.Modifier and TypeMethodDescriptionEvent.getDesiredState
(S state, ExecutionContext context) Determines the desired state of theFiniteStateMachine
for theEvent
given the current state of theFiniteStateMachine
.Instruction.TransitionTo.getDesiredState
(S currentState, ExecutionContext context) Determines the desired state of theFiniteStateMachine
for theEvent
given the current state of theFiniteStateMachine
.NonBlockingFiniteStateMachine.CoalescedEvent.getDesiredState
(S state, ExecutionContext context) Determines the desired state of theFiniteStateMachine
for theEvent
given the current state of theFiniteStateMachine
.NonBlockingFiniteStateMachine.DelayedTransitionTo.getDesiredState
(S currentState, ExecutionContext context) Determines the desired state of theFiniteStateMachine
for theEvent
given the current state of theFiniteStateMachine
.NonBlockingFiniteStateMachine.SubsequentEvent.getDesiredState
(S currentState, ExecutionContext context) Determines the desired state of theFiniteStateMachine
for theEvent
given the current state of theFiniteStateMachine
.boolean
LifecycleAwareEvent.onAccept
(ExecutionContext context) Called by aFiniteStateMachine
when theLifecycleAwareEvent
is initially about to be accepted for processing.boolean
NonBlockingFiniteStateMachine.CoalescedEvent.onAccept
(ExecutionContext context) Called by aFiniteStateMachine
when theLifecycleAwareEvent
is initially about to be accepted for processing.boolean
NonBlockingFiniteStateMachine.SubsequentEvent.onAccept
(ExecutionContext context) Called by aFiniteStateMachine
when theLifecycleAwareEvent
is initially about to be accepted for processing.StateEntryAction.onEnterState
(S exitingState, S enteringState, Event<S> event, ExecutionContext context) Performs the necessary actions when aFiniteStateMachine
enters a particular state.void
StateExitAction.onExitState
(S state, Event<S> event, ExecutionContext context) Performs the necessary actions when aFiniteStateMachine
exits a particular state.void
LifecycleAwareEvent.onProcessed
(ExecutionContext context) Called by aFiniteStateMachine
when theLifecycleAwareEvent
has been processed.void
NonBlockingFiniteStateMachine.CoalescedEvent.onProcessed
(ExecutionContext context) Called by aFiniteStateMachine
when theLifecycleAwareEvent
has been processed.void
NonBlockingFiniteStateMachine.SubsequentEvent.onProcessed
(ExecutionContext context) Called by aFiniteStateMachine
when theLifecycleAwareEvent
has been processed.void
LifecycleAwareEvent.onProcessing
(ExecutionContext context) Called by aFiniteStateMachine
when theLifecycleAwareEvent
is about to be processed.void
NonBlockingFiniteStateMachine.CoalescedEvent.onProcessing
(ExecutionContext context) Called by aFiniteStateMachine
when theLifecycleAwareEvent
is about to be processed.void
NonBlockingFiniteStateMachine.SubsequentEvent.onProcessing
(ExecutionContext context) Called by aFiniteStateMachine
when theLifecycleAwareEvent
is about to be processed.void
TransitionAction.onTransition
(String sName, S stateFrom, S stateTo, Event<S> event, ExecutionContext context) Performs the necessary actions as part of aTransition
from one state to another, triggered by a specifiedEvent
.