Top Description Constructors Methods
jakarta.batch.api.partition

public abstract Class AbstractPartitionReducer

extends Object
implements PartitionReducer
Class Inheritance
All Implemented Interfaces
jakarta.batch.api.partition.PartitionReducer

The AbstractBatchlet provides default implementations of less commonly implemented methods.

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public void
afterPartitionedStepCompletion(PartitionReducer.PartitionStatus
specifies the outcome of the partitioned step. Values are "COMMIT" or "ROLLBACK".
status
)

Implements jakarta.batch.api.partition.PartitionReducer.afterPartitionedStepCompletion.

Override this method to take action after partitioned step processing ends.
public void
beforePartitionedStepCompletion()

Implements jakarta.batch.api.partition.PartitionReducer.beforePartitionedStepCompletion.

Override this method to take action before normal partitioned step processing ends.
public void
beginPartitionedStep()

Implements jakarta.batch.api.partition.PartitionReducer.beginPartitionedStep.

Override this method to take action before partitioned step processing begins.
public void
rollbackPartitionedStep()

Implements jakarta.batch.api.partition.PartitionReducer.rollbackPartitionedStep.

Override this method to take action when a partitioned step is rolling back.
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

AbstractPartitionReducerback to summary
public AbstractPartitionReducer()

Method Detail

afterPartitionedStepCompletionback to summary
public void afterPartitionedStepCompletion(PartitionReducer.PartitionStatus status) throws Exception

Implements jakarta.batch.api.partition.PartitionReducer.afterPartitionedStepCompletion.

Override this method to take action after partitioned step processing ends.

Parameters
status:PartitionReducer.PartitionStatus

specifies the outcome of the partitioned step. Values are "COMMIT" or "ROLLBACK".

Annotations
@Override
Exceptions
Exception:
is thrown if an error occurs.
beforePartitionedStepCompletionback to summary
public void beforePartitionedStepCompletion() throws Exception

Implements jakarta.batch.api.partition.PartitionReducer.beforePartitionedStepCompletion.

Override this method to take action before normal partitioned step processing ends.

Annotations
@Override
Exceptions
Exception:
is thrown if an error occurs.
beginPartitionedStepback to summary
public void beginPartitionedStep() throws Exception

Implements jakarta.batch.api.partition.PartitionReducer.beginPartitionedStep.

Override this method to take action before partitioned step processing begins.

Annotations
@Override
Exceptions
Exception:
is thrown if an error occurs.
rollbackPartitionedStepback to summary
public void rollbackPartitionedStep() throws Exception

Implements jakarta.batch.api.partition.PartitionReducer.rollbackPartitionedStep.

Override this method to take action when a partitioned step is rolling back.

Annotations
@Override
Exceptions
Exception:
is thrown if an error occurs.