Spring for Apache Hadoop

org.springframework.yarn.batch.listener
Class CompositePartitionedStepExecutionStateListener

java.lang.Object
  extended by org.springframework.yarn.listener.AbstractCompositeListener<PartitionedStepExecutionStateListener>
      extended by org.springframework.yarn.batch.listener.CompositePartitionedStepExecutionStateListener
All Implemented Interfaces:
PartitionedStepExecutionStateListener

public class CompositePartitionedStepExecutionStateListener
extends AbstractCompositeListener<PartitionedStepExecutionStateListener>
implements PartitionedStepExecutionStateListener

Composite listener for handling partitioned step state events.

Author:
Janne Valkealahti

Nested Class Summary
 
Nested classes/interfaces inherited from interface org.springframework.yarn.batch.listener.PartitionedStepExecutionStateListener
PartitionedStepExecutionStateListener.PartitionedStepExecutionState
 
Constructor Summary
CompositePartitionedStepExecutionStateListener()
           
 
Method Summary
 void state(PartitionedStepExecutionStateListener.PartitionedStepExecutionState state, org.springframework.batch.core.StepExecution stepExecution)
          Invoked when partitioned step 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

CompositePartitionedStepExecutionStateListener

public CompositePartitionedStepExecutionStateListener()
Method Detail

state

public void state(PartitionedStepExecutionStateListener.PartitionedStepExecutionState state,
                  org.springframework.batch.core.StepExecution stepExecution)
Description copied from interface: PartitionedStepExecutionStateListener
Invoked when partitioned step state is changing.

Specified by:
state in interface PartitionedStepExecutionStateListener
Parameters:
state - the AppmasterStateListener.AppmasterState
stepExecution - the step execution

Spring for Apache Hadoop