public class IncrementalReapTask extends AbstractReapTask
mQueueWaitTime, 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, logInvalidationExceptions, runpublic IncrementalReapTask(SessionHelper sessionHelper, SessionReaperStatistics statistics, Iterator iterIds, int cEstimatedSessions)
sessionHelper - the session helperstatistics - the session reaper statisticsiterIds - an iterator of session IDs to checkcEstimatedSessions - the estimated number of session IDs to checkprotected void reap()
reap in class AbstractReapTaskprotected void scheduleNextCycle()
AbstractReapTaskscheduleNextCycle in class AbstractReapTaskpublic int getSessionChunkCount()
public int getSessionChunkMillis()