public class IncrementalReapTask extends AbstractReapTask
mStartTime
Constructor and Description |
---|
IncrementalReapTask(SessionHelper sessionHelper, SessionReaperStatistics statistics, Iterator iterIds, int cEstimatedSessions)
Construct an IncrementalReapTask.
|
Modifier and Type | Method and Description |
---|---|
int |
getSessionChunkCount() |
int |
getSessionChunkMillis() |
protected void |
reap()
The task process: Process a portion of the reaping cycle.
|
protected void |
scheduleNextCycle()
Schedules the next reaping cycle.
|
checkAndInvalidate, done, getDaemon, getNrOfInvalidatedSessions, getSessionHelper, getSessionIdIterator, isDone, run
public IncrementalReapTask(SessionHelper sessionHelper, SessionReaperStatistics statistics, Iterator iterIds, int cEstimatedSessions)
iterIds
- an iterator of session IDs to checkcEstimatedSessions
- the estimated number of session IDs to checksessionHelper
-protected void reap()
reap
in class AbstractReapTask
protected void scheduleNextCycle()
AbstractReapTask
scheduleNextCycle
in class AbstractReapTask
public int getSessionChunkCount()
public int getSessionChunkMillis()