Spring for Apache Hadoop

org.springframework.yarn.listener
Class CompositeAppmasterStateListener

java.lang.Object
  extended by org.springframework.yarn.listener.AbstractCompositeListener<AppmasterStateListener>
      extended by org.springframework.yarn.listener.CompositeAppmasterStateListener
All Implemented Interfaces:
AppmasterStateListener

public class CompositeAppmasterStateListener
extends AbstractCompositeListener<AppmasterStateListener>
implements AppmasterStateListener

Composite listener for handling appmaster state events.

Author:
Janne Valkealahti

Nested Class Summary
 
Nested classes/interfaces inherited from interface org.springframework.yarn.listener.AppmasterStateListener
AppmasterStateListener.AppmasterState
 
Constructor Summary
CompositeAppmasterStateListener()
           
 
Method Summary
 void state(AppmasterStateListener.AppmasterState state)
          Invoked when appmaster state is changing.
 
Methods inherited from class org.springframework.yarn.listener.AbstractCompositeListener
getListeners, register, setListeners
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CompositeAppmasterStateListener

public CompositeAppmasterStateListener()
Method Detail

state

public void state(AppmasterStateListener.AppmasterState state)
Description copied from interface: AppmasterStateListener
Invoked when appmaster state is changing.

Specified by:
state in interface AppmasterStateListener
Parameters:
state - the AppmasterStateListener.AppmasterState

Spring for Apache Hadoop