|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.shiftone.cache.decorator.tandem.TandemCache org.shiftone.cache.decorator.tandem.TandemAllGetsCache
Overides getObject to ALWAYSE delegate all gets to all caches. This ensures that any stats that are kept by the caches are in sync.
Field Summary |
Fields inherited from class org.shiftone.cache.decorator.tandem.TandemCache |
caches |
Constructor Summary | |
TandemAllGetsCache(Cache[] caches)
|
Method Summary | |
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. |
Methods inherited from class org.shiftone.cache.decorator.tandem.TandemCache |
addObject, clear, remove, size |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public TandemAllGetsCache(Cache[] caches)
Method Detail |
public java.lang.Object getObject(java.lang.Object key)
Cache
getObject
in interface Cache
getObject
in class TandemCache
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |