Package com._1c.g5.v8.internal.derived
Interface IComputationTaskManager
- All Known Implementing Classes:
- DerivedDataManager
public interface IComputationTaskManager
Component that is responsible for providing workers with tasks and tracking
 task statuses.
- 
Method SummaryModifier and TypeMethodDescriptionGets the current pipeline status of the async. pipeline.getSegmentName(String segmentId) Gets the human-readable segment name for the given pipeline segment.booleanisLongRunningSegment(String segmentId) Checks if the given async.voidnotifyContextsAreScheduled(boolean notifyListeners) Notifies the task manager about finishing of the computation or new DD part scheduling.renderStatusText(String segmentId) Renders human-readable status of the given async.
- 
Method Details- 
getAsyncPipelineStatusPipelineStatus getAsyncPipelineStatus()Gets the current pipeline status of the async. pipeline.- Returns:
- The status of the pipeline.
 
- 
getSegmentNameGets the human-readable segment name for the given pipeline segment.- Parameters:
- segmentId- The identifier of the target segment.
- Returns:
- The the name of the segment.
 
- 
isLongRunningSegmentChecks if the given async. DD segment is a long-running one.- Parameters:
- segmentId- The target segment identifier.
- Returns:
- True if the segment is long-running one; false otherwise.
 
- 
notifyContextsAreScheduledvoid notifyContextsAreScheduled(boolean notifyListeners) Notifies the task manager about finishing of the computation or new DD part scheduling.- Parameters:
- notifyListeners- Notify task listeners.
 
- 
renderStatusTextRenders human-readable status of the given async. DD pipeline segment.- Parameters:
- segmentId- The identifier of the taget segment.
- Returns:
- The rendered status of the pipeline segment.
 
 
-