| Package | Description | 
|---|---|
| org.apache.hadoop.yarn.state | 
| Modifier and Type | Class and Description | 
|---|---|
| class  | MultiStateTransitionListener<OPERAND,EVENT,STATE extends Enum<STATE>>A  StateTransitionListenerthat dispatches the pre and post
 state transitions to multiple registered listeners. | 
| Modifier and Type | Method and Description | 
|---|---|
| void | MultiStateTransitionListener. addListener(StateTransitionListener<OPERAND,EVENT,STATE> listener)Add a listener to the list of listeners. | 
| StateMachine<STATE,EVENTTYPE,EVENT> | StateMachineFactory. make(OPERAND operand,
    STATE initialState,
    StateTransitionListener<OPERAND,EVENT,STATE> listener)A StateMachine that accepts a transition listener. | 
Copyright © 2008–2023 Apache Software Foundation. All rights reserved.