| java.lang.Object java.lang.Thread org.w3c.www.protocol.http.cache.CacheSweeper
All known Subclasses: org.w3c.www.protocol.http.cache.SimpleCacheSweeper,
CacheSweeper | abstract public class CacheSweeper extends Thread (Code) | | |
STATE_CLEAN_GENERATIONS | final protected static int STATE_CLEAN_GENERATIONS(Code) | | |
STATE_CLEAN_STORED | final protected static int STATE_CLEAN_STORED(Code) | | |
STATE_FORCE_CLEAN_GENERATIONS | final protected static int STATE_FORCE_CLEAN_GENERATIONS(Code) | | |
STATE_FORCE_CLEAN_STORED | final protected static int STATE_FORCE_CLEAN_STORED(Code) | | |
collectCached | abstract protected long collectCached(CacheGeneration generation, long bytes, boolean check)(Code) | | collect the existing resources
generation, the CacheGeneration to clean bytes, a long. The number of bytes to collect check, a boolean. If true, then only the stale resourceswill be removed a long, the number of collected bytes |
collectCached | abstract protected long collectCached(long bytes, boolean check)(Code) | | collect the existing resources
bytes, a long. The number of bytes to collect check, a boolean. If true, then only the stale resourceswill be removed a long, the number of collected bytes |
collectStored | abstract protected void collectStored(CacheGeneration generation)(Code) | | collect the still stored resources (disk)
generation, the CacheGeneration to clean |
collectStored | abstract protected void collectStored()(Code) | | collect the still stored resources (disk)
in the whole cache
|
initialize | abstract public void initialize(CacheFilter filter)(Code) | | initialize the sweeper
|
setState | abstract protected void setState(int state)(Code) | | change the state of the Sweeper
Parameters: an - integer, setting the new cache state |
signal | abstract public void signal()(Code) | | Used to trigger a signal
|
|
|