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 Summary
Constructors 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 Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getRemainingUnitsOfWork()
int
getTotalUnitsOfWork()
long
getUpdateTimestamp()
void
setRemainingUnitsOfWork(int lastRemainingUnitsOfWork)
void
setTotalUnitsOfWork(int lastOverallPartCount)
void
setUpdateTimestamp(long lastUpdateTimestamp)
-
-
-
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
-
-