| java.lang.Object org.shiftone.cache.policy.single.SingleCacheFactory
SingleCacheFactory | public class SingleCacheFactory implements CacheFactory(Code) | | Creates a simple cache that holds only one key/value.
This cache type can be useful for storing a fairly static but still database driven list,
such as a list of countries.
Obviously, this cache doesn't require a very complex implementation. If a cache
will only ever have one value, then this will be the most efficient implementation.
author: Jeff Drost version: $Revision: 1.6 $ |
newInstance | public Cache newInstance(String cacheName, long timeoutMilliSeconds, int maxSize)(Code) | | Method newInstance
|
|
|