|
Cocoon API: Interface Store
org.apache.cocoon.store
|
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. |
long |
getTime(java.lang.Object key)
Get the time the object was added. |
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 long getTime(java.lang.Object key)
java.lang.NullPointerException
- if the object is not in the store.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 |