Package jakarta.batch.api.partition
Class AbstractPartitionAnalyzer
java.lang.Object
jakarta.batch.api.partition.AbstractPartitionAnalyzer
- All Implemented Interfaces:
PartitionAnalyzer
The AbstractPartitionAnalyzer provides default
implementations of less commonly implemented methods.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidOverride this method to analyze PartitionCollector payloads.voidanalyzeStatus(BatchStatus batchStatus, String exitStatus) Override this method to analyze partition end status.
-
Constructor Details
-
AbstractPartitionAnalyzer
public AbstractPartitionAnalyzer()
-
-
Method Details
-
analyzeCollectorData
Override this method to analyze PartitionCollector payloads.- Specified by:
analyzeCollectorDatain interfacePartitionAnalyzer- Parameters:
data- specifies the payload sent by the PartitionCollector.- Throws:
Exception- is thrown if an error occurs.
-
analyzeStatus
Override this method to analyze partition end status.- Specified by:
analyzeStatusin interfacePartitionAnalyzer- Parameters:
batchStatus- specifies the batch status of a partition.exitStatus- specifies the exit status of a partition.- Throws:
Exception- is thrown if an error occurs.
-