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.


Method Summary
 void transition(OPERAND operand, EVENT event)
          Transition hook.
 

Method Detail

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 © 2013 Apache Software Foundation. All Rights Reserved.