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
FieldsModifier and TypeFieldDescriptionprotected final CacheWriter<K,V> protected InitializationContext -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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:CacheWriterUsed to initialize a cache loader. Typically invoked by thePersistenceManagerwhen setting up cache loaders.- Specified by:
initin interfaceCacheWriter<K,V>
-
start
public void start()Description copied from interface:LifecycleInvoked on component start -
stop
public void stop()Description copied from interface:LifecycleInvoked on component stop -
write
Description copied from interface:CacheWriterPersists the entry to the storage.- Specified by:
writein interfaceCacheWriter<K,V> - See Also:
-
delete
- Specified by:
deletein interfaceCacheWriter<K,V> - Returns:
- true if the entry existed in the persistent store and it was deleted.
-
undelegate
-