org.shiftone.cache.util
Class AbstractDecoratorCacheFactory
java.lang.Object
org.shiftone.cache.util.AbstractDecoratorCacheFactory
- All Implemented Interfaces:
- CacheFactory
- Direct Known Subclasses:
- JmxCacheFactory, MissHandlingCacheFactory, SoftCacheFactory, StatCacheFactory, SyncCacheFactory
- public abstract class AbstractDecoratorCacheFactory
- extends java.lang.Object
- implements CacheFactory
- Version:
- $Revision: 1.2 $
- Author:
- Jeff Drost
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
AbstractDecoratorCacheFactory
public AbstractDecoratorCacheFactory()
newInstance
public Cache newInstance(java.lang.String cacheName,
long timeoutMs,
int maxSize)
- Specified by:
newInstance in interface CacheFactory
wrapDelegate
protected abstract Cache wrapDelegate(java.lang.String cacheName,
Cache delegateCache)
throws CacheException
- Throws:
CacheException
getDelegate
public CacheFactory getDelegate()
setDelegate
public void setDelegate(CacheFactory delegate)
toString
public java.lang.String toString()