Package com._1c.g5.v8.derived
Interface IDerivedDataOrchestrator
- 
 public interface IDerivedDataOrchestratorDerived data orchestrator is the component responsible for tracking and coordinating derived data processing operations. Since the derived data processing might conflict with other operations in the application, which the derived data mechanism is not supposed to be aware of, the interface is implemented in the point where the derived data mechanism is integrated.
- 
- 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description booleanbeginProcessing(DerivedDataSegmentBucket bucket)Begins processing of the specified bucket.voidcancelProcessing(DerivedDataSegmentBucket bucket)Cancels processing of the specified bucket.voidclose()Closes the orchestrator.voidendProcessing(DerivedDataSegmentBucket bucket, boolean interrupted)Ends processing of the specified bucket.voidinit(IDerivedDataOrchestratorListener listener)Sets orchestrator listener.booleanisSynchronizationActive()Checks if the resource synchronization process is active at the moment.
 
- 
- 
- 
Method Detail- 
beginProcessingboolean beginProcessing(DerivedDataSegmentBucket bucket) Begins processing of the specified bucket. If the processing is allowed the method returnstrue, otherwise returnsfalseand the request is placed in the queue. When it is possible to begin the processing the notification is sent via theorchestrator listener.- Parameters:
- bucket- The bucket. May not be- null.
- Returns:
- trueif the processing is allowed,- falseotherwise.
 
 - 
endProcessingvoid endProcessing(DerivedDataSegmentBucket bucket, boolean interrupted) Ends processing of the specified bucket.- Parameters:
- bucket- The bucket. May not be- null.
- interrupted- The boolean flag indicating whether the processing is interrupted or not.
 
 - 
cancelProcessingvoid cancelProcessing(DerivedDataSegmentBucket bucket) Cancels processing of the specified bucket.- Parameters:
- bucket- The bucket. May not be- null.
 
 - 
isSynchronizationActiveboolean isSynchronizationActive() Checks if the resource synchronization process is active at the moment.- Returns:
- trueif the resource synchronization process is active,- falseotherwise.
 
 - 
initvoid init(IDerivedDataOrchestratorListener listener) Sets orchestrator listener.- Parameters:
- listener- The listener to set. May not be- null.
 
 - 
closevoid close() Closes the orchestrator.
 
- 
 
-