@ThreadSafe
@Deprecated
public static interface AdvancedCacheLoader.CacheLoaderTask<K,V>
| Modifier and Type | Method and Description |
|---|---|
void |
processEntry(MarshalledEntry<K,V> marshalledEntry,
AdvancedCacheLoader.TaskContext taskContext)
Deprecated.
|
void processEntry(MarshalledEntry<K,V> marshalledEntry, AdvancedCacheLoader.TaskContext taskContext) throws java.lang.InterruptedException
marshalledEntry - an iterated entry. Note that MarshallableEntry.getValue()
might be null if the fetchValue parameter passed to AdvancedCacheLoader.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 invoking AdvancedCacheLoader.TaskContext.stop()java.lang.InterruptedException