Class DelegatingCacheLoader<K,V>
java.lang.Object
org.infinispan.persistence.support.DelegatingCacheLoader<K,V>
- All Implemented Interfaces:
Lifecycle,CacheLoader<K,V>
- Since:
- 6.0
- Author:
- Mircea Markus
-
Field Details
-
actual
-
ctx
-
-
Constructor Details
-
DelegatingCacheLoader
-
-
Method Details
-
init
Description copied from interface:CacheLoaderUsed to initialize a cache loader. Typically invoked by thePersistenceManagerwhen setting up cache loaders.- Specified by:
initin interfaceCacheLoader<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 -
contains
Description copied from interface:CacheLoaderReturns true if the storage contains an entry associated with the given key.- Specified by:
containsin interfaceCacheLoader<K,V>
-
loadEntry
Description copied from interface:CacheLoaderFetches an entry from the storage. If aMarshallableEntryneeds to be created here,InitializationContext.getMarshallableEntryFactory()()} andInitializationContext.getByteBufferFactory()should be used.- Specified by:
loadEntryin interfaceCacheLoader<K,V> - Returns:
- the entry, or null if the entry does not exist
-
undelegate
-