public interface PartitionReducer
| Modifier and Type | Interface and Description | 
|---|---|
static class  | 
PartitionReducer.PartitionStatus
An enum used in  
afterPartitionedStepCompletion(PartitionStatus). | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
afterPartitionedStepCompletion(PartitionReducer.PartitionStatus status)
The afterPartitionedStepCompletion method receives control
 at the end of a partition processing. 
 | 
void | 
beforePartitionedStepCompletion()
The beforePartitionedStepCompletion method
 receives control at the end of partitioned
 step processing. 
 | 
void | 
beginPartitionedStep()
The beginPartitionedStep method receives
 control at the start of partition processing. 
 | 
void | 
rollbackPartitionedStep()
 The rollbackPartitionedStep method receives
 control if the runtime is rolling back a partitioned
 step. 
 | 
void beginPartitionedStep()
                   throws java.lang.Exception
java.lang.Exception - is thrown if an error occurs.void beforePartitionedStepCompletion()
                              throws java.lang.Exception
java.lang.Exception - is thrown if an error occurs.void rollbackPartitionedStep()
                      throws java.lang.Exception
The rollbackPartitionedStep method receives control if the runtime is rolling back a partitioned step. Any partition threads still running are allowed to complete before this method is invoked. This method receives control if any of the following conditions are true:
java.lang.Exception - is thrown if an error occurs.void afterPartitionedStepCompletion(PartitionReducer.PartitionStatus status) throws java.lang.Exception
status - specifies the outcome of the partitioned step. Values
 are "COMMIT" or "ROLLBACK".java.lang.Exception - is thrown if an error occurs.