Package com._1c.g5.v8.derived
Class DerivedDataStatus
- java.lang.Object
-
- com._1c.g5.v8.derived.DerivedDataStatus
-
public class DerivedDataStatus extends Object
Integral status of derived data for a particular BM. Used by theIDerivedDataStatusListener
to report DD status changes to external consumers.
-
-
Constructor Summary
Constructors Constructor Description DerivedDataStatus()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<String,PipelineSegmentStatus>
getActivePipelineSegments()
Gets active DD segments.PipelineStatus
getPipelineStatus()
Set<String>
getReadySegments()
Gets ready DD segments.boolean
isModelSyncActive()
Reports that BM model synchronization is under way, so DD processing is idle.void
setModelSyncActive(boolean modelSyncActive)
void
setPipelineStatus(PipelineStatus pipelineStatus)
-
-
-
Method Detail
-
getActivePipelineSegments
public Map<String,PipelineSegmentStatus> getActivePipelineSegments()
Gets active DD segments. All segments belong to the same bucket.- Returns:
- the activePipelineSegments
-
getPipelineStatus
public PipelineStatus getPipelineStatus()
- Returns:
- the pipelineStatus
-
getReadySegments
public Set<String> getReadySegments()
Gets ready DD segments. The segment ID is returned by this method in case if DD of this segment is calculated completely.- Returns:
- The set of DD segments ready to use.
-
isModelSyncActive
public boolean isModelSyncActive()
Reports that BM model synchronization is under way, so DD processing is idle.- Returns:
- True in case if the model sync is active. False otherwise.
-
setModelSyncActive
public void setModelSyncActive(boolean modelSyncActive)
- Parameters:
modelSyncActive
- the modelSyncActive to set
-
setPipelineStatus
public void setPipelineStatus(PipelineStatus pipelineStatus)
- Parameters:
pipelineStatus
- the pipelineStatus to set
-
-