|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Responsible for cleaning two kinds of records out of a ChunkBasedCache: records that are likely to be out of date (stale), and (if the cache is too full) records that are not likely to be accessed in the near future.
Method Summary | |
void |
evictStaleChunks()
Removes from the cache any chunks that are older than their maximum age. |
void |
evictUnusedChunks()
Removes from the cache any chunks that are unlikely to be used in the near future, according to getUnusedChunkRule(). |
long |
getTargetSize()
|
Method Detail |
public long getTargetSize()
public void evictStaleChunks()
public void evictUnusedChunks()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |