Class AbstractPartitionAnalyzer

  • All Implemented Interfaces:
    PartitionAnalyzer

    public abstract class AbstractPartitionAnalyzer
    extends Object
    implements PartitionAnalyzer
    The AbstractPartitionAnalyzer provides default implementations of less commonly implemented methods.
    • Constructor Detail

      • AbstractPartitionAnalyzer

        public AbstractPartitionAnalyzer()
    • Method Detail

      • analyzeCollectorData

        public void analyzeCollectorData​(Serializable data)
                                  throws Exception
        Override this method to analyze PartitionCollector payloads.
        Specified by:
        analyzeCollectorData in interface PartitionAnalyzer
        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:
        analyzeStatus in interface PartitionAnalyzer
        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.