Class DelegatingCacheWriter<K,V>
java.lang.Object
org.infinispan.persistence.support.DelegatingCacheWriter<K,V>
- All Implemented Interfaces:
Lifecycle
,CacheWriter<K,
V>
- Since:
- 6.0
- Author:
- Mircea Markus
-
Field Summary
Modifier and TypeFieldDescriptionprotected final CacheWriter<K,
V> protected InitializationContext
-
Constructor Summary
-
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.infinispan.persistence.spi.CacheWriter
bulkUpdate, deleteBatch, isAvailable
-
Field Details
-
actual
-
ctx
-
-
Constructor Details
-
DelegatingCacheWriter
-
-
Method Details
-
init
Description copied from interface:CacheWriter
Used to initialize a cache loader. Typically invoked by thePersistenceManager
when setting up cache loaders.- Specified by:
init
in interfaceCacheWriter<K,
V>
-
start
public void start()Description copied from interface:Lifecycle
Invoked on component start -
stop
public void stop()Description copied from interface:Lifecycle
Invoked on component stop -
write
Description copied from interface:CacheWriter
Persists the entry to the storage.- Specified by:
write
in interfaceCacheWriter<K,
V> - See Also:
-
delete
- Specified by:
delete
in interfaceCacheWriter<K,
V> - Returns:
- true if the entry existed in the persistent store and it was deleted.
-
undelegate
-