|
Oracle® Coherence Java API Reference Release 12.1.2.0.3 E26043-02 |
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
com.tangosol.coherence.servlet.AbstractReapTask
Deprecated. In releases following 3.6 customization will be declarative.
public abstract class AbstractReapTask
Base class for reaping tasks. It takes care of scheduling the next reap cycle and provides common data members.
Field Summary | |
---|---|
protected long |
mStartTime Deprecated. The time stamp for when this reap cycle started. |
Constructor Summary | |
---|---|
AbstractReapTask(SessionHelper sessionHelper, SessionReaperStatistics statistics, java.util.Iterator iterIds) Deprecated. Construct an AbstractReapTask. |
Method Summary | |
---|---|
protected void |
checkAndInvalidate(java.lang.String id) Deprecated. Check the specified session to see if it has expired, and in that case invalidate it. |
protected void |
done() Deprecated. Indicate that the reaping is done in this cycle. |
protected SessionHelper.SessionReaperDaemon |
getDaemon() Deprecated. |
protected int |
getNrOfInvalidatedSessions() Deprecated. |
protected SessionHelper |
getSessionHelper() Deprecated. |
protected java.util.Iterator |
getSessionIdIterator() Deprecated. |
protected boolean |
isDone() Deprecated. |
protected abstract void |
reap() Deprecated. The method that implements the actual reaping. |
void |
run() Deprecated. The task process: Process a portion of the reaping cycle. |
protected void |
scheduleNextCycle() Deprecated. Schedules the next reaping cycle. |
Field Detail |
---|
protected long mStartTime
Constructor Detail |
---|
public AbstractReapTask(SessionHelper sessionHelper, SessionReaperStatistics statistics, java.util.Iterator iterIds)
iterIds
- an iterator of session IDs to checksessionHelper
-Method Detail |
---|
public void run()
run
in interface java.lang.Runnable
protected void scheduleNextCycle()
protected void done()
protected abstract void reap()
protected java.util.Iterator getSessionIdIterator()
protected void checkAndInvalidate(java.lang.String id)
id
- a session idprotected SessionHelper getSessionHelper()
protected SessionHelper.SessionReaperDaemon getDaemon()
protected boolean isDone()
protected int getNrOfInvalidatedSessions()
|
Oracle® Coherence Java API Reference Release 12.1.2.0.3 E26043-02 |
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |