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
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Override this method to analyze PartitionCollector payloads.void
analyzeStatus
(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:
analyzeCollectorData
in 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:
analyzeStatus
in 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.
-