|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object ca.uhn.cache.internal.impl.DefaultUnusedChunkRule
Default implementation of IUnusedChunkRule.
Constructor Summary | |
DefaultUnusedChunkRule(java.util.Map theModifiers)
|
Method Summary | |
long |
getVoguenessModifier(IChunk theChunk)
For use with the least-recently-used (LRU) mode of cache eviction. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public DefaultUnusedChunkRule(java.util.Map theModifiers)
theModifiers
- keys are CacheReasonEnum, values are corresponding Longs representing
vogueness modifiers for each reason (default is 0)Method Detail |
public long getVoguenessModifier(IChunk theChunk)
IUnusedChunkRule
getVoguenessModifier
in interface IUnusedChunkRule
theChunk
- a chunk to be cached
IUnusedChunkRule.getVoguenessModifier(ca.uhn.cache.internal.IChunk)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |