org.springframework.yarn.batch.am
Interface BatchYarnAppmaster

All Superinterfaces:
org.springframework.yarn.am.YarnAppmaster
All Known Implementing Classes:
AbstractBatchAppmaster, BatchAppmaster

public interface BatchYarnAppmaster
extends org.springframework.yarn.am.YarnAppmaster

Extended interface YarnAppmasters used with Spring Batch.

Author:
Janne Valkealahti

Method Summary
 void addPartitionedStepExecutionStateListener(PartitionedStepExecutionStateListener partitionedStepExecutionStateListener)
          Adds the partitioned step execution state listener.
 void addStepSplits(StepExecution stepExecution, String stepName, Set<StepExecution> split, Map<StepExecution,org.springframework.yarn.am.container.ContainerRequestHint> resourceRequests)
          Adds the step splits.
 Collection<? extends StepExecution> getStepExecutions()
          Gets the step executions.
 
Methods inherited from interface org.springframework.yarn.am.YarnAppmaster
addAppmasterStateListener, setEnvironment, setParameters, submitApplication
 

Method Detail

addStepSplits

void addStepSplits(StepExecution stepExecution,
                   String stepName,
                   Set<StepExecution> split,
                   Map<StepExecution,org.springframework.yarn.am.container.ContainerRequestHint> resourceRequests)
Adds the step splits.

Parameters:
stepExecution - the step execution
stepName - the step name
split - the step execution splits
resourceRequests - the resource requests

getStepExecutions

Collection<? extends StepExecution> getStepExecutions()
Gets the step executions.

Returns:
the step executions

addPartitionedStepExecutionStateListener

void addPartitionedStepExecutionStateListener(PartitionedStepExecutionStateListener partitionedStepExecutionStateListener)
Adds the partitioned step execution state listener.

Parameters:
partitionedStepExecutionStateListener - the partitioned step execution state listener