net.sf.ehcache.constructs.refreshahead
Class RefreshAheadCacheFactory
java.lang.Object
   net.sf.ehcache.constructs.CacheDecoratorFactory
net.sf.ehcache.constructs.CacheDecoratorFactory
       net.sf.ehcache.constructs.refreshahead.RefreshAheadCacheFactory
net.sf.ehcache.constructs.refreshahead.RefreshAheadCacheFactory
- public class RefreshAheadCacheFactory 
- extends CacheDecoratorFactory
Cache decorator factory for RefreshAheadCache instances
- Author:
- cschanck
 
 
 
 
 
| Methods inherited from class java.lang.Object | 
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
RefreshAheadCacheFactory
public RefreshAheadCacheFactory()
createDecoratedEhcache
public Ehcache createDecoratedEhcache(Ehcache cache,
                                      Properties properties)
- Description copied from class: CacheDecoratorFactory
- Creates a decorated Ehcacheusing the properties specified for configuring the decorator.
 
 If the returned decorated cache has the same name as the underlying cache, then the original cache will be replaced by this new
 decorated cache in the CacheManager.
 
- 
- Specified by:
- createDecoratedEhcachein class- CacheDecoratorFactory
 
- 
- Parameters:
- cache- a reference to the owning cache
- properties- implementation specific properties configured as delimiter
            separated name value pairs in ehcache.xml
- Returns:
- a decorated Ehcache
 
createDefaultDecoratedEhcache
public Ehcache createDefaultDecoratedEhcache(Ehcache cache,
                                             Properties properties)
- Description copied from class: CacheDecoratorFactory
- This method is called when the factory is specified for the defaultCache in the config.
 Create the decorated Ehcacheusing the properties specified.
 
 If the returned decorated cache has the same name as the underlying cache, then the original cache will be replaced by this new
 decorated cache in the CacheManager.
 
- 
- Specified by:
- createDefaultDecoratedEhcachein class- CacheDecoratorFactory
 
- 
- Parameters:
- cache- a reference to the owning cache
- properties- implementation specific properties configured as delimiter
            separated name value pairs in ehcache.xml
- Returns:
- a decorated Ehcache
 
Copyright 2001-2014, Terracotta, Inc.