|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Cache instead
public interface Cache
| Method Summary | |
|---|---|
Object |
get(Object key)
Deprecated. Retrieve an object from this cache. |
List |
getKeys()
Deprecated. this is not supported by all cache implementations and therefore will be removed from this interface in the near future. |
String |
getName()
Deprecated. 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(Object key,
Object value)
Deprecated. Put an object into the cache. |
void |
remove(Object key)
Deprecated. Remove the object identified by the key from the cache. |
void |
removeAll()
Deprecated. Remove all of the objects from this cache. |
| Method Detail |
|---|
String getName()
Object get(Object key)
key - uniquely identifying the object to be retrieved.
List getKeys()
void put(Object key,
Object value)
key - uniquely identifying the object to be added into the cache.value - to be cached.void remove(Object key)
key - uniquely identifying the object to be removed.void removeAll()
int getStatus()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||