|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
The Cache abstracts the cache implementation from Confluence.
Method Summary | |
java.lang.Object |
get(java.lang.Object key)
Retrieve an object from this cache. |
java.util.List |
getKeys()
Deprecated. this is not supported by all cache implementations and therefore will be removed from this interface in the near future. |
java.lang.String |
getName()
The name of the cache uniquely identifies this cache. |
int |
getStatus()
Deprecated. The idea of status is not supported by all cache implementations and therefore is likely to be moved into another interface. Do not use this. |
void |
put(java.lang.Object key,
java.lang.Object value)
Put an object into the cache. |
void |
remove(java.lang.Object key)
Remove the object identified by the key from the cache. |
void |
removeAll()
Remove all of the objects from this cache. |
Method Detail |
public java.lang.String getName()
public java.lang.Object get(java.lang.Object key)
key
- uniquely identifying the object to be retrieved.
public java.util.List getKeys()
public void put(java.lang.Object key, java.lang.Object value)
key
- uniquely identifying the object to be added into the cache.value
- to be cached.public void remove(java.lang.Object key)
key
- uniquely identifying the object to be removed.public void removeAll()
public int getStatus()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |