org.ehcache.spi.loaderwriter
Interface WriteBehindDecoratorLoaderWriterProvider
- All Superinterfaces:
- Service
public interface WriteBehindDecoratorLoaderWriterProvider
- extends Service
createWriteBehindDecoratorLoaderWriter
<K,V> CacheLoaderWriter<K,V> createWriteBehindDecoratorLoaderWriter(CacheLoaderWriter<K,V> cacheLoaderWriter,
WriteBehindConfiguration configuration)
- Provider Interface for decorator loaderwriter
- Type Parameters:
K
- the key type for the associated Cache
V
- the value type for the associated Cache
- Parameters:
cacheLoaderWriter
- loaderwriterconfiguration
- configuration
- Returns:
- loaderwriter
releaseWriteBehindDecoratorCacheLoaderWriter
void releaseWriteBehindDecoratorCacheLoaderWriter(CacheLoaderWriter<?,?> cacheLoaderWriter)
- Invoked by
CacheManager
when a Cache
is being removed from it.
- Parameters:
cacheLoaderWriter
- the CacheLoaderWriter
that was initially associated with
the Cache
being removed