|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This is the interface that a generic object storage system must implement.
Method Summary | |
boolean |
containsKey(java.lang.Object key)
Indicates if the given key is associated to a contained object. |
void |
free()
Frees some of the fast memory used by this store. |
java.lang.Object |
get(java.lang.Object key)
Get the object associated to the given unique key. |
void |
hold(java.lang.Object key,
java.lang.Object value)
Holds the given object in a volatile state. |
java.util.Enumeration |
list()
Returns the list of used keys. |
void |
remove(java.lang.Object key)
Remove the object associated to the given key. |
void |
store(java.lang.Object key,
java.lang.Object value)
Store the given object in a persistent state. |
Method Detail |
public java.lang.Object get(java.lang.Object key)
public void store(java.lang.Object key, java.lang.Object value)
public void hold(java.lang.Object key, java.lang.Object value)
public void remove(java.lang.Object key)
public boolean containsKey(java.lang.Object key)
public java.util.Enumeration list()
public void free()
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |