Package | Description |
---|---|
com.tangosol.util.fsm |
Contains Finite state machine interfaces.
|
Modifier and Type | Class and Description |
---|---|
class |
NonBlockingFiniteStateMachine<S extends Enum<S>>
An
NonBlockingFiniteStateMachine is a specialized FiniteStateMachine implementation that performs transitions
asynchronously to the threads that request state changes. |
Modifier and Type | Method and Description |
---|---|
S |
Instruction.TransitionTo.getDesiredState(S currentState,
ExecutionContext context)
Determines the desired state of the
FiniteStateMachine for the
Event given the current state of the FiniteStateMachine . |
S |
Event.getDesiredState(S state,
ExecutionContext context)
Determines the desired state of the
FiniteStateMachine for the
Event given the current state of the FiniteStateMachine . |
S |
NonBlockingFiniteStateMachine.CoalescedEvent.getDesiredState(S state,
ExecutionContext context)
Determines the desired state of the
FiniteStateMachine for the
Event given the current state of the FiniteStateMachine . |
S |
NonBlockingFiniteStateMachine.DelayedTransitionTo.getDesiredState(S currentState,
ExecutionContext context)
Determines the desired state of the
FiniteStateMachine for the
Event given the current state of the FiniteStateMachine . |
S |
NonBlockingFiniteStateMachine.SubsequentEvent.getDesiredState(S currentState,
ExecutionContext context)
Determines the desired state of the
FiniteStateMachine for the
Event given the current state of the FiniteStateMachine . |
boolean |
LifecycleAwareEvent.onAccept(ExecutionContext context)
Called by a
FiniteStateMachine when the LifecycleAwareEvent
is initially about to be accepted for processing. |
boolean |
NonBlockingFiniteStateMachine.CoalescedEvent.onAccept(ExecutionContext context)
Called by a
FiniteStateMachine when the LifecycleAwareEvent
is initially about to be accepted for processing. |
boolean |
NonBlockingFiniteStateMachine.SubsequentEvent.onAccept(ExecutionContext context)
Called by a
FiniteStateMachine when the LifecycleAwareEvent
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 a
FiniteStateMachine
enters a particular state. |
void |
StateExitAction.onExitState(S state,
Event<S> event,
ExecutionContext context)
Performs the necessary actions when a
FiniteStateMachine
exits a particular state. |
void |
LifecycleAwareEvent.onProcessed(ExecutionContext context)
Called by a
FiniteStateMachine when the LifecycleAwareEvent
has been processed. |
void |
NonBlockingFiniteStateMachine.CoalescedEvent.onProcessed(ExecutionContext context)
Called by a
FiniteStateMachine when the LifecycleAwareEvent
has been processed. |
void |
NonBlockingFiniteStateMachine.SubsequentEvent.onProcessed(ExecutionContext context)
Called by a
FiniteStateMachine when the LifecycleAwareEvent
has been processed. |
void |
LifecycleAwareEvent.onProcessing(ExecutionContext context)
Called by a
FiniteStateMachine when the LifecycleAwareEvent
is about to be processed. |
void |
NonBlockingFiniteStateMachine.CoalescedEvent.onProcessing(ExecutionContext context)
Called by a
FiniteStateMachine when the LifecycleAwareEvent
is about to be processed. |
void |
NonBlockingFiniteStateMachine.SubsequentEvent.onProcessing(ExecutionContext context)
Called by a
FiniteStateMachine when the LifecycleAwareEvent
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 a
Transition from one
state to another, triggered by a specified Event . |