Uses of Interface
com.tangosol.util.fsm.Event
-
Packages that use Event Package Description com.tangosol.util.fsm Contains Finite state machine interfaces. -
-
Uses of Event in com.tangosol.util.fsm
Subinterfaces of Event in com.tangosol.util.fsm Modifier and Type Interface Description interface
LifecycleAwareEvent<S extends Enum<S>>
ALifecycleAwareEvent
is a specializedEvent
that receives callbacks during the processing of theEvent
by aFiniteStateMachine
.Classes in com.tangosol.util.fsm that implement Event Modifier and Type Class Description static class
Instruction.TransitionTo<S extends Enum<S>>
static class
NonBlockingFiniteStateMachine.CoalescedEvent<S extends Enum<S>>
ANonBlockingFiniteStateMachine.CoalescedEvent
is aLifecycleAwareEvent
that coalesces other (wrapped)Event
s with the same discriminator so that only oneEvent
actually executes.static class
NonBlockingFiniteStateMachine.DelayedTransitionTo<S extends Enum<S>>
ANonBlockingFiniteStateMachine.DelayedTransitionTo
is a specializedInstruction
forNonBlockingFiniteStateMachine
s that enables aStateEntryAction
to request a delayed transition to another state, unlike aInstruction.TransitionTo
Instruction
which occurs immediately.static class
NonBlockingFiniteStateMachine.SubsequentEvent<S extends Enum<S>>
ANonBlockingFiniteStateMachine.SubsequentEvent
is anEvent
that ensures that another (wrapped)Event
to occur if an only if theFiniteStateMachine
is at a certain transition count.Methods in com.tangosol.util.fsm that return Event Modifier and Type Method Description Event<S>
Instruction.ProcessEvent. getEvent()
Obtain theEvent
to process.Event<S>
NonBlockingFiniteStateMachine.ProcessEventLater. getEvent()
Obtain theEvent
to process later.Methods in com.tangosol.util.fsm with parameters of type Event Modifier and Type Method Description 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
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
.void
FiniteStateMachine. process(Event<S> event)
Request theFiniteStateMachine
to process the specifiedEvent
.void
NonBlockingFiniteStateMachine. process(Event<S> event)
Request theFiniteStateMachine
to process the specifiedEvent
.void
NonBlockingFiniteStateMachine. processLater(Event<S> event)
Request theFiniteStateMachine
to process the specifiedEvent
as soon as possible.void
NonBlockingFiniteStateMachine. processLater(Event<S> event, long duration, TimeUnit timeUnit)
Request theFiniteStateMachine
to process the specifiedEvent
at some point in the future (represented as a duration to wait from the moment the method is called).
-