public class SessionCountCompletionEstimator extends AbstractCompletionEstimator
eventService, resultService| Constructor and Description |
|---|
SessionCountCompletionEstimator(EventService eventService,
ResultService resultService,
SessionService sessionService,
long sessionCount)
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 SessionCountCompletionEstimator(EventService eventService, ResultService resultService, SessionService sessionService, long sessionCount)
sessionService - used to do final checks of event countssessionCount - the total number of sessions expectedprotected double getCompletionImpl()
complete.
Gives a ratio of the number of completed sessions relative to the total expectedgetCompletionImpl in class AbstractCompletionEstimatorCopyright © 2005–2018 Alfresco Software. All rights reserved.