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 Exception
Exception
- is thrown if an error occurs.void beforePartitionedStepCompletion() throws Exception
Exception
- is thrown if an error occurs.void rollbackPartitionedStep() throws 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:
Exception
- is thrown if an error occurs.void afterPartitionedStepCompletion(PartitionReducer.PartitionStatus status) throws Exception
status
- specifies the outcome of the partitioned step. Values
are "COMMIT" or "ROLLBACK".Exception
- is thrown if an error occurs.Copyright © 1996-2017, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.