Package com._1c.g5.v8.derived.pipeline
Class PipelineSegmentStatus
- java.lang.Object
- 
- com._1c.g5.v8.derived.pipeline.PipelineSegmentStatus
 
- 
 public class PipelineSegmentStatus extends Object Async. DD pipeline segment status. Contains information of available/unfinished tasks, etc.
- 
- 
Constructor SummaryConstructors Constructor Description PipelineSegmentStatus()Constructs an empty instance of the status.PipelineSegmentStatus(long updateTimestamp, int totalUnitsOfWork, int remainingUnitsOfWork)Creates an instance of the segment status holder.
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetRemainingUnitsOfWork()intgetTotalUnitsOfWork()longgetUpdateTimestamp()voidsetRemainingUnitsOfWork(int lastRemainingUnitsOfWork)voidsetTotalUnitsOfWork(int lastOverallPartCount)voidsetUpdateTimestamp(long lastUpdateTimestamp)
 
- 
- 
- 
Constructor Detail- 
PipelineSegmentStatuspublic PipelineSegmentStatus() Constructs an empty instance of the status.
 - 
PipelineSegmentStatuspublic 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- 
getRemainingUnitsOfWorkpublic int getRemainingUnitsOfWork() - Returns:
- the lastRemainingPartCount
 
 - 
getTotalUnitsOfWorkpublic int getTotalUnitsOfWork() - Returns:
- the lastOverallPartCount
 
 - 
getUpdateTimestamppublic long getUpdateTimestamp() - Returns:
- the lastUpdateTimestamp
 
 - 
setRemainingUnitsOfWorkpublic void setRemainingUnitsOfWork(int lastRemainingUnitsOfWork) - Parameters:
- lastRemainingUnitsOfWork- the lastRemainingPartCount to set
 
 - 
setTotalUnitsOfWorkpublic void setTotalUnitsOfWork(int lastOverallPartCount) - Parameters:
- lastOverallPartCount- the lastOverallPartCount to set
 
 - 
setUpdateTimestamppublic void setUpdateTimestamp(long lastUpdateTimestamp) - Parameters:
- lastUpdateTimestamp- the lastUpdateTimestamp to set
 
 
- 
 
-