|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.timeindexing.cache.AbstractCachePolicy
com.timeindexing.cache.HollowAtDataVolumePolicy
Hollow items after the amount of held data reaches a certain volume
Constructor Summary | |
HollowAtDataVolumePolicy()
Construct this policy object |
|
HollowAtDataVolumePolicy(long volume)
Construct this policy object |
Method Summary | |
java.lang.Object |
notifyAddItemBegin(IndexItem item,
long pos)
Called at the beginning of cache.addItem() |
java.lang.Object |
notifyAddItemEnd(IndexItem item,
long pos)
Called at the beginning of cache.addItem() |
java.lang.Object |
notifyGetItemBegin(IndexItem item,
long pos)
Called at the beginning of cache.getItem() |
java.lang.Object |
notifyGetItemEnd(IndexItem item,
long pos)
Called at the end of cache.getItem() |
java.lang.String |
toString()
TO String |
Methods inherited from class com.timeindexing.cache.AbstractCachePolicy |
getIndexCache, isInFirst, setIndexCache, show |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface com.timeindexing.cache.CachePolicy |
getIndexCache, setIndexCache |
Constructor Detail |
public HollowAtDataVolumePolicy()
public HollowAtDataVolumePolicy(long volume)
Method Detail |
public java.lang.Object notifyAddItemBegin(IndexItem item, long pos)
notifyAddItemBegin
in interface CachePolicy
notifyAddItemBegin
in class AbstractCachePolicy
item
- the item being addedpos
- the position the item is being added topublic java.lang.Object notifyAddItemEnd(IndexItem item, long pos)
notifyAddItemEnd
in interface CachePolicy
notifyAddItemEnd
in class AbstractCachePolicy
item
- the item being addedpos
- the position the item is being added topublic java.lang.Object notifyGetItemBegin(IndexItem item, long pos)
notifyGetItemBegin
in interface CachePolicy
notifyGetItemBegin
in class AbstractCachePolicy
pos
- the position being requestedpublic java.lang.Object notifyGetItemEnd(IndexItem item, long pos)
notifyGetItemEnd
in interface CachePolicy
notifyGetItemEnd
in class AbstractCachePolicy
item
- the item being returnedpublic java.lang.String toString()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |