|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Temporary interface to cache store for purging data. After 1st release these methods will be moved to IChunkStore and IQueryResultStore. Note: minimum stored data includes: query, expiry time, vogueness modifier, and vogueness.
Method Summary | |
long |
getLowestVogueness()
|
int |
getNumCachedItems()
|
IChunkIterator |
getStaleChunks()
Implementation hint: to avoid doing a calculation during the query, store chunk with its expiry time, not its max age, and implement this method as "select chunks where expiry time earlier than now". |
IChunkIterator |
getUnusedChunks(long theVoguenessThreshold)
Returns chunks that have not been accessed recently. |
Method Detail |
public IChunkIterator getUnusedChunks(long theVoguenessThreshold)
theVoguenessThreshold
- chunks that have not been accessed since this time
(accounting for modifier) are to be returned
public IChunkIterator getStaleChunks()
public long getLowestVogueness()
public int getNumCachedItems()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |