Package jakarta.batch.api.partition
Class AbstractPartitionAnalyzer
- java.lang.Object
-
- jakarta.batch.api.partition.AbstractPartitionAnalyzer
-
- All Implemented Interfaces:
PartitionAnalyzer
public abstract class AbstractPartitionAnalyzer extends Object implements PartitionAnalyzer
The AbstractPartitionAnalyzer provides default implementations of less commonly implemented methods.
-
-
Constructor Summary
Constructors Constructor Description AbstractPartitionAnalyzer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidanalyzeCollectorData(Serializable data)Override this method to analyze PartitionCollector payloads.voidanalyzeStatus(BatchStatus batchStatus, String exitStatus)Override this method to analyze partition end status.
-
-
-
Method Detail
-
analyzeCollectorData
public void analyzeCollectorData(Serializable data) throws Exception
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
public void analyzeStatus(BatchStatus batchStatus, String exitStatus) throws Exception
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.
-
-