public class ReadThroughCacheFactory extends CacheDecoratorFactory
CacheDecoratorFactory implementation for the ReadThroughCache cache
decorator. the Properties arguments are used to configure ReadThroughCacheConfiguration
instances, which are in turn used to create the cache decorator instances.DASH| Constructor and Description |
|---|
ReadThroughCacheFactory() |
| Modifier and Type | Method and Description |
|---|---|
Ehcache |
createDecoratedEhcache(Ehcache cache,
Properties properties)
Creates a decorated
Ehcache using the properties specified for configuring the decorator. |
Ehcache |
createDefaultDecoratedEhcache(Ehcache cache,
Properties properties)
This method is called when the factory is specified for the defaultCache in the config.
|
generateDefaultDecoratedCacheNamepublic Ehcache createDecoratedEhcache(Ehcache cache, Properties properties)
CacheDecoratorFactoryEhcache using 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.
createDecoratedEhcache in class CacheDecoratorFactorycache - a reference to the owning cacheproperties - implementation specific properties configured as delimiter
separated name value pairs in ehcache.xmlpublic Ehcache createDefaultDecoratedEhcache(Ehcache cache, Properties properties)
CacheDecoratorFactoryEhcache using 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.
createDefaultDecoratedEhcache in class CacheDecoratorFactorycache - a reference to the owning cacheproperties - implementation specific properties configured as delimiter
separated name value pairs in ehcache.xmlCopyright 2001-2021, Terracotta, Inc.