Class PipelineSegmentStatus


  • public class PipelineSegmentStatus
    extends Object
    Async. DD pipeline segment status. Contains information of available/unfinished tasks, etc.
    • Constructor Detail

      • PipelineSegmentStatus

        public PipelineSegmentStatus()
        Constructs an empty instance of the status.
      • PipelineSegmentStatus

        public PipelineSegmentStatus​(long updateTimestamp,
                                     int totalUnitsOfWork,
                                     int remainingUnitsOfWork)
        Creates an instance of the segment status holder.
        Parameters:
        updateTimestamp - The last update timestamp.
        totalUnitsOfWork - The total units of work in the segment.
        remainingUnitsOfWork - The remaining units of work in the segment.
    • Method Detail

      • getRemainingUnitsOfWork

        public int getRemainingUnitsOfWork()
        Returns:
        the lastRemainingPartCount
      • getTotalUnitsOfWork

        public int getTotalUnitsOfWork()
        Returns:
        the lastOverallPartCount
      • getUpdateTimestamp

        public long getUpdateTimestamp()
        Returns:
        the lastUpdateTimestamp
      • setRemainingUnitsOfWork

        public void setRemainingUnitsOfWork​(int lastRemainingUnitsOfWork)
        Parameters:
        lastRemainingUnitsOfWork - the lastRemainingPartCount to set
      • setTotalUnitsOfWork

        public void setTotalUnitsOfWork​(int lastOverallPartCount)
        Parameters:
        lastOverallPartCount - the lastOverallPartCount to set
      • setUpdateTimestamp

        public void setUpdateTimestamp​(long lastUpdateTimestamp)
        Parameters:
        lastUpdateTimestamp - the lastUpdateTimestamp to set