|
||||||||||
| 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(java.lang.Object key)
|
void |
delete()
delete all state associated with the index |
StoreEntry |
get(java.lang.Object key)
|
int |
getSize()
return the size of the index |
boolean |
isTransient()
|
void |
load()
load indexes |
StoreEntry |
remove(java.lang.Object key)
remove the index key |
void |
setKeyMarshaller(Marshaller marshaller)
Set the marshaller for key objects |
void |
store(java.lang.Object key,
StoreEntry entry)
store the key, item |
void |
unload()
unload indexes |
| Method Detail |
|---|
void clear()
throws java.io.IOException
java.io.IOException
boolean containsKey(java.lang.Object key)
throws java.io.IOException
key -
java.io.IOException
StoreEntry remove(java.lang.Object key)
throws java.io.IOException
key -
java.io.IOException
void store(java.lang.Object key,
StoreEntry entry)
throws java.io.IOException
key - entry -
java.io.IOException
StoreEntry get(java.lang.Object key)
throws java.io.IOException
key -
java.io.IOExceptionboolean isTransient()
void load()
void unload()
throws java.io.IOException
java.io.IOExceptionvoid setKeyMarshaller(Marshaller marshaller)
marshaller - int getSize()
void delete()
throws java.io.IOException
java.io.IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||