Package org.infinispan.persistence.spi
Interface AdvancedCacheLoader.TaskContext
-
- All Known Implementing Classes:
TaskContextImpl
- Enclosing interface:
- AdvancedCacheLoader<K,V>
@ThreadSafe @Deprecated public static interface AdvancedCacheLoader.TaskContext
Deprecated.since 9.3 The process method is no longer suggested and thus this class shouldn't be in use any moreUsed during the parallel iteration in order to offer theAdvancedCacheLoader.CacheLoaderTask
a way of canceling the entry iteration. Should be thread safe.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description boolean
isStopped()
Deprecated.Verifies if the the TaskContext is marked as stopped.void
stop()
Deprecated.Invoked from within the CacheLoaderTask, in order to signal the AdvancedCacheLoader implementation that iteration should be stopped early (before iteration is finished).
-
-
-
Method Detail
-
stop
void stop()
Deprecated.Invoked from within the CacheLoaderTask, in order to signal the AdvancedCacheLoader implementation that iteration should be stopped early (before iteration is finished).
-
isStopped
boolean isStopped()
Deprecated.Verifies if the the TaskContext is marked as stopped.
-
-