public class CompoundCompletionEstimator extends AbstractCompletionEstimator
estimations.eventService, resultService| Constructor and Description |
|---|
CompoundCompletionEstimator(EventService eventService,
ResultService resultService,
List<CompletionEstimator> estimators)
Constructor with required dependencies
|
| Modifier and Type | Method and Description |
|---|---|
protected double |
getCompletionImpl()
Implementation of a fetch to get the completion state.
|
getCheckPeriod, getCompletion, getResultsFail, getResultsFailImpl, getResultsSuccess, getResultsSuccessImpl, isCompleted, isStarted, setCheckPeriodpublic CompoundCompletionEstimator(EventService eventService, ResultService resultService, List<CompletionEstimator> estimators)
eventService - used to count remaining eventsresultService - used to count resultsestimators - the estimators to which the work will be delegatedprotected double getCompletionImpl()
complete.
The first estimator to declare the run finish will, in effect, stop the run.getCompletionImpl in class AbstractCompletionEstimatorestimators
providedCopyright © 2005–2018 Alfresco Software. All rights reserved.