Uses of Interface
com.tangosol.util.fsm.ExecutionContext
-
Packages that use ExecutionContext Package Description com.tangosol.util.fsm Contains Finite state machine interfaces. -
-
Uses of ExecutionContext in com.tangosol.util.fsm
Classes in com.tangosol.util.fsm that implement ExecutionContext Modifier and Type Class Description class
NonBlockingFiniteStateMachine<S extends Enum<S>>
AnNonBlockingFiniteStateMachine
is a specializedFiniteStateMachine
implementation that performs transitions asynchronously to the threads that request state changes.Methods in com.tangosol.util.fsm with parameters of type ExecutionContext Modifier and Type Method Description S
Event. getDesiredState(S state, ExecutionContext context)
Determines the desired state of theFiniteStateMachine
for theEvent
given the current state of theFiniteStateMachine
.S
Instruction.TransitionTo. getDesiredState(S currentState, ExecutionContext context)
Determines the desired state of theFiniteStateMachine
for theEvent
given the current state of theFiniteStateMachine
.S
NonBlockingFiniteStateMachine.CoalescedEvent. getDesiredState(S state, ExecutionContext context)
Determines the desired state of theFiniteStateMachine
for theEvent
given the current state of theFiniteStateMachine
.S
NonBlockingFiniteStateMachine.DelayedTransitionTo. getDesiredState(S currentState, ExecutionContext context)
Determines the desired state of theFiniteStateMachine
for theEvent
given the current state of theFiniteStateMachine
.S
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.Instruction
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
.
-