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 classNonBlockingFiniteStateMachine<S extends Enum<S>>AnNonBlockingFiniteStateMachineis a specializedFiniteStateMachineimplementation 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 SEvent. getDesiredState(S state, ExecutionContext context)Determines the desired state of theFiniteStateMachinefor theEventgiven the current state of theFiniteStateMachine.SInstruction.TransitionTo. getDesiredState(S currentState, ExecutionContext context)Determines the desired state of theFiniteStateMachinefor theEventgiven the current state of theFiniteStateMachine.SNonBlockingFiniteStateMachine.CoalescedEvent. getDesiredState(S state, ExecutionContext context)Determines the desired state of theFiniteStateMachinefor theEventgiven the current state of theFiniteStateMachine.SNonBlockingFiniteStateMachine.DelayedTransitionTo. getDesiredState(S currentState, ExecutionContext context)Determines the desired state of theFiniteStateMachinefor theEventgiven the current state of theFiniteStateMachine.SNonBlockingFiniteStateMachine.SubsequentEvent. getDesiredState(S currentState, ExecutionContext context)Determines the desired state of theFiniteStateMachinefor theEventgiven the current state of theFiniteStateMachine.booleanLifecycleAwareEvent. onAccept(ExecutionContext context)Called by aFiniteStateMachinewhen theLifecycleAwareEventis initially about to be accepted for processing.booleanNonBlockingFiniteStateMachine.CoalescedEvent. onAccept(ExecutionContext context)Called by aFiniteStateMachinewhen theLifecycleAwareEventis initially about to be accepted for processing.booleanNonBlockingFiniteStateMachine.SubsequentEvent. onAccept(ExecutionContext context)Called by aFiniteStateMachinewhen theLifecycleAwareEventis initially about to be accepted for processing.InstructionStateEntryAction. onEnterState(S exitingState, S enteringState, Event<S> event, ExecutionContext context)Performs the necessary actions when aFiniteStateMachineenters a particular state.voidStateExitAction. onExitState(S state, Event<S> event, ExecutionContext context)Performs the necessary actions when aFiniteStateMachineexits a particular state.voidLifecycleAwareEvent. onProcessed(ExecutionContext context)Called by aFiniteStateMachinewhen theLifecycleAwareEventhas been processed.voidNonBlockingFiniteStateMachine.CoalescedEvent. onProcessed(ExecutionContext context)Called by aFiniteStateMachinewhen theLifecycleAwareEventhas been processed.voidNonBlockingFiniteStateMachine.SubsequentEvent. onProcessed(ExecutionContext context)Called by aFiniteStateMachinewhen theLifecycleAwareEventhas been processed.voidLifecycleAwareEvent. onProcessing(ExecutionContext context)Called by aFiniteStateMachinewhen theLifecycleAwareEventis about to be processed.voidNonBlockingFiniteStateMachine.CoalescedEvent. onProcessing(ExecutionContext context)Called by aFiniteStateMachinewhen theLifecycleAwareEventis about to be processed.voidNonBlockingFiniteStateMachine.SubsequentEvent. onProcessing(ExecutionContext context)Called by aFiniteStateMachinewhen theLifecycleAwareEventis about to be processed.voidTransitionAction. onTransition(String sName, S stateFrom, S stateTo, Event<S> event, ExecutionContext context)Performs the necessary actions as part of aTransitionfrom one state to another, triggered by a specifiedEvent.
-