public abstract class CacheWriterFactory extends Object
Note that Ehcache API also allows the CacheWriter to be set programmatically.
| Constructor and Description |
|---|
CacheWriterFactory() |
| Modifier and Type | Method and Description |
|---|---|
abstract CacheWriter |
createCacheWriter(Ehcache cache,
Properties properties)
Creates a CacheWriter using the Ehcache configuration mechanism at the time the associated cache is created.
|
public abstract CacheWriter createCacheWriter(Ehcache cache, Properties properties)
cache - a reference to the owning cacheproperties - configuration properties that will be ignored by Ehcache, but may be useful for specifying
the underlying resource. e.g. dataSourceName could be specified and then looked up in JNDI.Copyright 2001-2021, Terracotta, Inc.