|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.timeindexing.cache.DefaultIndexCache
com.timeindexing.cache.FileIndexCache
The implementation of a cache which holds the index items for file indexes.
| Constructor Summary | |
FileIndexCache(StoredIndex index)
Create a FileIndexCache object. |
|
| Method Summary | |
boolean |
clear()
Clear the whole cache |
IndexItem |
getItem(long pos)
Get an Index Item from the Index. |
boolean |
hollowItem(long pos)
Hollow the IndexItem at the position. |
boolean |
removeItem(long pos)
Remove the IndexItem at the speicifed position. |
| Methods inherited from class com.timeindexing.cache.DefaultIndexCache |
addItem, addItem, containsItem, containsItem, getDataVolume, getFirstDataTime, getFirstIndexTime, getItem, getLastDataTime, getLastIndexTime, getPolicy, hollowItem, removeItem, setPolicy, size, sparce |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface com.timeindexing.cache.IndexCache |
addItem, addItem, containsItem, containsItem, getDataVolume, getFirstDataTime, getFirstIndexTime, getItem, getLastDataTime, getLastIndexTime, getPolicy, hollowItem, removeItem, setPolicy, size |
| Constructor Detail |
public FileIndexCache(StoredIndex index)
| Method Detail |
public IndexItem getItem(long pos)
getItem in interface IndexCachegetItem in class DefaultIndexCachepublic boolean hollowItem(long pos)
hollowItem in interface IndexCachehollowItem in class DefaultIndexCachepublic boolean removeItem(long pos)
removeItem in interface IndexCacheremoveItem in class DefaultIndexCachepublic boolean clear()
clear in interface IndexCacheclear in class DefaultIndexCache
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||