|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Index
Simplier than a Map
| Method Summary | |
|---|---|
void |
clear()
clear the index |
boolean |
containsKey(Object key)
|
void |
delete()
delete all state associated with the index |
StoreEntry |
get(Object key)
|
int |
getSize()
return the size of the index |
boolean |
isTransient()
|
void |
load()
load indexes |
StoreEntry |
remove(Object key)
remove the index key |
void |
setKeyMarshaller(Marshaller marshaller)
Set the marshaller for key objects |
void |
store(Object key,
StoreEntry entry)
store the key, item |
void |
unload()
unload indexes |
| Method Detail |
|---|
void clear()
throws IOException
IOException
boolean containsKey(Object key)
throws IOException
key -
IOException
StoreEntry remove(Object key)
throws IOException
key -
IOException
void store(Object key,
StoreEntry entry)
throws IOException
key - entry -
IOException
StoreEntry get(Object key)
throws IOException
key -
IOExceptionboolean isTransient()
void load()
void unload()
throws IOException
IOExceptionvoid setKeyMarshaller(Marshaller marshaller)
marshaller - int getSize()
void delete()
throws IOException
IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||