|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Generic caching mechanism.
Method Summary | |
java.lang.Object |
clear(java.io.Serializable key)
Clears an object from the cache by key. |
void |
clearAll()
Clears the entire cache. |
java.lang.Object |
get(java.io.Serializable key)
Gets an object from the cache by key, or returns null if that object is not cached. |
java.lang.String |
getType()
Gets the common name of the type of objects to cache. |
void |
put(java.io.Serializable key,
java.lang.Object object)
Adds an object to the cache. |
void |
setType(java.lang.String type)
Sets the common name of the type of objects to cache. |
Method Detail |
public java.lang.String getType()
public void setType(java.lang.String type)
public void put(java.io.Serializable key, java.lang.Object object)
public java.lang.Object get(java.io.Serializable key)
public java.lang.Object clear(java.io.Serializable key)
public void clearAll()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |