|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.fjank.jcache.CacheSweeper
public class CacheSweeper
A Runnable class for Sweeping the cache for expired objects. Either they are serialized to disk, or they are removed from the cache depending on the attributes of the object.
Method Summary | |
---|---|
static CacheSweeper |
getInstance()
create this sweeper instance. |
void |
run()
sweeps the cache and removes invalid objects, waits for cleanInterval seconds, then sweeps again etc. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public void run()
run
in interface Runnable
public static CacheSweeper getInstance()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |