|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface WriteBehindProvider
A Service that provides write-behind functionality.
A CacheManager will use the createWriteBehindLoaderWriter(org.ehcache.spi.loaderwriter.CacheLoaderWriter, org.ehcache.spi.loaderwriter.WriteBehindConfiguration)
method to create write-behind instances for each Cache it manages
that carries a write-behind configuration.
| Method Summary | ||
|---|---|---|
|
createWriteBehindLoaderWriter(CacheLoaderWriter<K,V> cacheLoaderWriter,
WriteBehindConfiguration configuration)
Creates write-behind decorated CacheLoaderWriter according to the
given configuration. |
|
void |
releaseWriteBehindLoaderWriter(CacheLoaderWriter<?,?> cacheLoaderWriter)
Releases a write-behind decorator when the associated Cache
is finished with it. |
|
| Methods inherited from interface org.ehcache.spi.service.Service |
|---|
start, stop |
| Method Detail |
|---|
<K,V> CacheLoaderWriter<K,V> createWriteBehindLoaderWriter(CacheLoaderWriter<K,V> cacheLoaderWriter,
WriteBehindConfiguration configuration)
CacheLoaderWriter according to the
given configuration.
K - the key type for the loader writerV - the value type for the loader writercacheLoaderWriter - the CacheLoaderWriter to decorateconfiguration - the write-behind configuration
void releaseWriteBehindLoaderWriter(CacheLoaderWriter<?,?> cacheLoaderWriter)
Cache
is finished with it.
cacheLoaderWriter - the CacheLoaderWriter to release
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||