public class VMIndex extends Object implements Index, IndexMBean
| Constructor and Description |
|---|
VMIndex(IndexManager manager) |
| Modifier and Type | Method and Description |
|---|---|
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
|
public VMIndex(IndexManager manager)
public void clear()
Indexclear in interface IndexIndex.clear()public boolean containsKey(Object key)
containsKey in interface Indexkey - Index.containsKey(java.lang.Object)public StoreEntry remove(Object key)
Indexpublic void store(Object key, StoreEntry entry)
Indexpublic StoreEntry get(Object key)
public boolean isTransient()
isTransient in interface IndexisTransient in interface IndexMBeanpublic void delete() throws IOException
Indexdelete in interface IndexIOExceptionpublic void setKeyMarshaller(Marshaller marshaller)
IndexsetKeyMarshaller in interface IndexCopyright © 2005–2017. All rights reserved.