org.springframework.yarn.batch.listener
Interface PartitionedStepExecutionStateListener

All Known Implementing Classes:
CompositePartitionedStepExecutionStateListener

public interface PartitionedStepExecutionStateListener

Interface used for partitioned step to notify its state.

Author:
Janne Valkealahti

Nested Class Summary
static class PartitionedStepExecutionStateListener.PartitionedStepExecutionState
          Enum for partitioned step states
 
Method Summary
 void state(PartitionedStepExecutionStateListener.PartitionedStepExecutionState state, StepExecution stepExecution)
          Invoked when partitioned step state is changing.
 

Method Detail

state

void state(PartitionedStepExecutionStateListener.PartitionedStepExecutionState state,
           StepExecution stepExecution)
Invoked when partitioned step state is changing.

Parameters:
state - the AppmasterStateListener.AppmasterState
stepExecution - the step execution