org.shiftone.cache.decorator.tandem
Class TandemCacheFactory
java.lang.Object
org.shiftone.cache.decorator.tandem.TandemCacheFactory
- All Implemented Interfaces:
- CacheFactory
- public class TandemCacheFactory
- extends java.lang.Object
- implements CacheFactory
Creates a single cache that delegates to a pair of different caches.
- Version:
- $Revision: 1.3 $
- Author:
- $Author: jeffdrost $
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TandemCacheFactory
public TandemCacheFactory()
newInstance
public Cache newInstance(java.lang.String cacheName,
long timeoutMilliSeconds,
int maxSize)
- Specified by:
newInstance
in interface CacheFactory
isAllGets
public boolean isAllGets()
setAllGets
public void setAllGets(boolean allGets)
getDelegateA
public CacheFactory getDelegateA()
setDelegateA
public void setDelegateA(CacheFactory delegateA)
getDelegateB
public CacheFactory getDelegateB()
setDelegateB
public void setDelegateB(CacheFactory delegateB)