|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface Cache
Cache interface defines methods of a cache store.
| Method Summary | |
|---|---|
void |
clear()
Removes all key/value pairs from cache. |
java.lang.Object |
get(java.lang.Object key)
Returns object from cache based on key. |
java.lang.Object |
getDelegateCache()
Returns the underlying cache. |
java.util.Collection<java.lang.Object> |
getKeys()
Returns keys in the cache |
java.lang.String |
getName()
Returns the cache name. |
java.util.Properties |
getStatistics()
Returns the Cache statistics. |
boolean |
put(java.lang.Object key,
java.lang.Object value)
Stores object into cache based on key. |
boolean |
remove(java.lang.Object key)
Removes the mapping for this key from the cache if present. |
| Method Detail |
|---|
java.lang.Object getDelegateCache()
java.lang.String getName()
java.util.Collection<java.lang.Object> getKeys()
java.lang.Object get(java.lang.Object key)
boolean put(java.lang.Object key,
java.lang.Object value)
boolean remove(java.lang.Object key)
void clear()
java.util.Properties getStatistics()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||