|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.shiftone.cache.adaptor.WhirlyCache
Constructor Summary | |
WhirlyCache()
|
|
WhirlyCache(com.whirlycott.cache.Cache cache)
|
Method Summary | |
void |
addObject(java.lang.Object key,
java.lang.Object cacheObject)
adds an object to the cache |
void |
clear()
Removes ALL keys and values from the cache. |
java.lang.Object |
getObject(java.lang.Object key)
gets the value stored in the cache by it's key, or null if the key is not found. |
void |
remove(java.lang.Object key)
remove a specific key/value pair from the cache |
int |
size()
The number of key/value pares in the cache |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public WhirlyCache() throws java.lang.Exception
public WhirlyCache(com.whirlycott.cache.Cache cache) throws java.lang.Exception
Method Detail |
public void addObject(java.lang.Object key, java.lang.Object cacheObject)
Cache
addObject
in interface Cache
public java.lang.Object getObject(java.lang.Object key)
Cache
getObject
in interface Cache
public int size()
Cache
size
in interface Cache
public void remove(java.lang.Object key)
Cache
remove
in interface Cache
public void clear()
Cache
clear
in interface Cache
public java.lang.String toString()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |