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