|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Cache
| Method Summary | |
|---|---|
void |
clear()
Clear the Store of all data it holds |
boolean |
containsKey(Object key)
Indicates if the given key is associated to a contained object. |
Object |
get(Object key)
Get the object associated to the given unique key. |
String |
getStatisticsOverview()
Returns string formatted cache statistics |
Iterator |
memoryKeys()
Returns the list of used keys as an Enumeration of Objects. |
int |
memorySize()
Returns count of the objects in the store, or -1 if could not be obtained. |
void |
remove(Object key)
Remove the object associated to the given key. |
void |
store(Object key,
Object value)
Store the given object It is up to the caller to ensure that the key has a persistent state across different JVM executions. |
| Method Detail |
|---|
Object get(Object key)
void store(Object key,
Object value)
throws IOException
IOExceptionvoid remove(Object key)
void clear()
boolean containsKey(Object key)
Iterator memoryKeys()
int memorySize()
String getStatisticsOverview()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||