public interface PartitionReducer
| Modifier and Type | Interface and Description |
|---|---|
static class |
PartitionReducer.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
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 © 2017 JBoss by Red Hat. All rights reserved.