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.
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public Ehcache | createDecoratedEhcache(Ehcache
a reference to the owning cache cache, Properties implementation specific properties configured as delimiter
separated name value pairs in ehcache.xml properties)Implements abstract net. Ehcache using the properties specified for configuring the decorator.
|
| public Ehcache | createDefaultDecoratedEhcache(Ehcache
a reference to the owning cache cache, Properties implementation specific properties configured as delimiter
separated name value pairs in ehcache.xml properties)Implements abstract net. |
| ReadThroughCacheFactory | back to summary |
|---|---|
| public ReadThroughCacheFactory() | |
| createDecoratedEhcache | back to summary |
|---|---|
| public Ehcache createDecoratedEhcache(Ehcache cache, Properties properties) Implements abstract net. Doc from net. Creates a decorated 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 | back to summary |
|---|---|
| public Ehcache createDefaultDecoratedEhcache(Ehcache cache, Properties properties) Implements abstract net. Doc from net. This method is called when the factory is specified for the defaultCache in the config.
Create the decorated 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.
| |