Package org.infinispan.persistence.spi
Interface AdvancedCacheLoader.CacheLoaderTask<K,V>
-
- Enclosing interface:
- AdvancedCacheLoader<K,V>
@ThreadSafe @Deprecated public static interface AdvancedCacheLoader.CacheLoaderTask<K,V>
Deprecated.since 9.3 The process method is deprecated and thus this class shouldn't be in use any moreOffers a callback to be invoked for parallel iteration over the entries in an external store. Implementors should be thread safe.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description void
processEntry(org.infinispan.marshall.core.MarshalledEntry<K,V> marshalledEntry, AdvancedCacheLoader.TaskContext taskContext)
Deprecated.
-
-
-
Method Detail
-
processEntry
void processEntry(org.infinispan.marshall.core.MarshalledEntry<K,V> marshalledEntry, AdvancedCacheLoader.TaskContext taskContext) throws InterruptedException
Deprecated.- Parameters:
marshalledEntry
- an iterated entry. Note thatMarshallableEntry.getValue()
might be null if the fetchValue parameter passed toAdvancedCacheLoader.process(KeyFilter, org.infinispan.persistence.spi.AdvancedCacheLoader.CacheLoaderTask, java.util.concurrent.Executor, boolean, boolean)
is false.taskContext
- allows the implementors to decide when to stop the iteration by invokingAdvancedCacheLoader.TaskContext.stop()
- Throws:
InterruptedException
-
-