org.shiftone.cache.policy.zero
Class ZeroCacheFactory
java.lang.Object
org.shiftone.cache.policy.zero.ZeroCacheFactory
- All Implemented Interfaces:
- CacheFactory
- public class ZeroCacheFactory
- extends java.lang.Object
- implements CacheFactory
Creates a cache that never stores anything you give it. This is a non-cache.
- Version:
- $Revision: 1.5 $
- Author:
- Jeff Drost
Method Summary |
Cache |
newInstance(java.lang.String cacheName,
long timeoutMilliSeconds,
int maxSize)
Method newInstance |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
NULL_CACHE_FACTORY
public static final CacheFactory NULL_CACHE_FACTORY
NULL_CACHE
public static final Cache NULL_CACHE
ZeroCacheFactory
public ZeroCacheFactory()
newInstance
public Cache newInstance(java.lang.String cacheName,
long timeoutMilliSeconds,
int maxSize)
- Method newInstance
- Specified by:
newInstance
in interface CacheFactory
toString
public java.lang.String toString()