org.apache.hadoop.yarn.state
Interface SingleArcTransition<OPERAND,EVENT>
@InterfaceAudience.Public
@InterfaceStability.Evolving
public interface SingleArcTransition<OPERAND,EVENT>
Hook for Transition. This lead to state machine to move to
the post state as registered in the state machine.
transition
void transition(OPERAND operand,
EVENT event)
- Transition hook.
- Parameters:
operand
- the entity attached to the FSM, whose internal
state may change.event
- causal event
Copyright © 2014 Apache Software Foundation. All Rights Reserved.