|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.cocoon.components.store.MemoryStore
public class MemoryStore
Field Summary |
---|
Fields inherited from interface org.apache.cocoon.components.store.Store |
---|
PERSISTENT_CACHE, ROLE, TRANSIENT_CACHE |
Constructor Summary | |
---|---|
MemoryStore()
Deprecated. |
Method Summary | |
---|---|
boolean |
containsKey(Object key)
Deprecated. Indicates if the given key is associated to a contained object. |
void |
free()
Deprecated. |
Object |
get(Object key)
Deprecated. Get the object associated to the given unique key. |
void |
hold(Object key,
Object value)
Deprecated. Holds the given object in a volatile state. |
Enumeration |
keys()
Deprecated. Returns the list of used keys as an Enumeration of Objects. |
void |
remove(Object key)
Deprecated. Remove the object associated to the given key. |
int |
size()
Deprecated. Returns count of the objects in the store, or -1 if could not be obtained. |
void |
store(Object key,
Object value)
Deprecated. Store the given object in a persistent state. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MemoryStore()
Method Detail |
---|
public Object get(Object key)
get
in interface Store
public void store(Object key, Object value)
store
in interface Store
public void hold(Object key, Object value)
hold
in interface Store
public void remove(Object key)
remove
in interface Store
public void free()
free
in interface Store
public boolean containsKey(Object key)
containsKey
in interface Store
public Enumeration keys()
keys
in interface Store
public int size()
size
in interface Store
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |