|
||||||||||
| 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.RemoveAfterTimeoutPolicy
Remove items after they have been used.
| Constructor Summary | |
RemoveAfterTimeoutPolicy()
Construct this policy object |
|
RemoveAfterTimeoutPolicy(RelativeTimestamp elapsed)
Construct this policy object |
|
| Method Summary | |
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, notifyAddItemBegin, notifyAddItemEnd, 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, notifyAddItemBegin, notifyAddItemEnd, setIndexCache |
| Constructor Detail |
public RemoveAfterTimeoutPolicy()
public RemoveAfterTimeoutPolicy(RelativeTimestamp elapsed)
| Method Detail |
public java.lang.Object notifyGetItemBegin(IndexItem item,
long pos)
notifyGetItemBegin in interface CachePolicynotifyGetItemBegin in class AbstractCachePolicypos - the position being requested
public java.lang.Object notifyGetItemEnd(IndexItem item,
long pos)
notifyGetItemEnd in interface CachePolicynotifyGetItemEnd in class AbstractCachePolicyitem - the item being returnedpublic java.lang.String toString()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||