|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnl.hippo.client.api.service.NOPCachingService
public class NOPCachingService
Convenience NOP implementation of the CachingService
| Constructor Summary | |
|---|---|
NOPCachingService()
|
|
| 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. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public NOPCachingService()
| Method Detail |
|---|
public Object get(Object key)
Cache
get in interface Cache
public void store(Object key,
Object value)
throws IOException
Cache
store in interface CacheIOExceptionpublic void remove(Object key)
Cache
remove in interface Cachepublic void clear()
Cache
clear in interface Cachepublic boolean containsKey(Object key)
Cache
containsKey in interface Cachepublic Iterator memoryKeys()
Cache
memoryKeys in interface Cachepublic int memorySize()
Cache
memorySize in interface Cachepublic String getStatisticsOverview()
Cache
getStatisticsOverview in interface Cache
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||