|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
A policy for maintaining the cache.
Method Summary | |
IndexCache |
getIndexCache()
Get the IndexCache that this is a policy for. |
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() |
CachePolicy |
setIndexCache(IndexCache cache)
Set the IndexCache that this is a policy for. |
Method Detail |
public CachePolicy setIndexCache(IndexCache cache)
public IndexCache getIndexCache()
public java.lang.Object notifyAddItemBegin(IndexItem item, long pos)
item
- the item being addedpos
- the position the item is being added topublic java.lang.Object notifyAddItemEnd(IndexItem item, long pos)
item
- the item being addedpos
- the position the item is being added topublic java.lang.Object notifyGetItemBegin(IndexItem item, long pos)
pos
- the position being requestedpublic java.lang.Object notifyGetItemEnd(IndexItem item, long pos)
item
- the item being returned
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |