|
|||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use IChunkIterator | |
ca.uhn.cache.internal | |
ca.uhn.cache.internal.impl |
Uses of IChunkIterator in ca.uhn.cache.internal |
Methods in ca.uhn.cache.internal that return IChunkIterator | |
IChunkIterator |
IChunkPurger.getUnusedChunks(long theVoguenessThreshold)
Returns chunks that have not been accessed recently. |
IChunkIterator |
IChunkPurger.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". |
Uses of IChunkIterator in ca.uhn.cache.internal.impl |
Classes in ca.uhn.cache.internal.impl that implement IChunkIterator | |
class |
ChunkIterator
Default implementation of IChunkIterator. |
Methods in ca.uhn.cache.internal.impl that return IChunkIterator | |
IChunkIterator |
HibernateChunkStore.getUnusedChunks(long theVoguenessThreshold)
Returns chunks that have not been accessed recently. Specifically, those for which vogueness < theVoguenessThreshold. Recall from IUnusedChunkRule that vogueness = last access time + modifier. Implementation hint: to avoid doing a calculation during the query, store the modified version of last access time, and implement this method as "select chunks where mod_last_access earlier than theMaxAccessTime". |
IChunkIterator |
HibernateChunkStore.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". |
|
|||||||||||
PREV NEXT | FRAMES NO FRAMES |