Package org.infinispan.persistence
Class TaskContextImpl
- java.lang.Object
-
- org.infinispan.persistence.TaskContextImpl
-
- All Implemented Interfaces:
AdvancedCacheLoader.TaskContext
public class TaskContextImpl extends Object implements AdvancedCacheLoader.TaskContext
- Since:
- 6.0
- Author:
- Mircea Markus
-
-
Constructor Summary
Constructors Constructor Description TaskContextImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanisStopped()Verifies if the the TaskContext is marked as stopped.voidstop()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
public void stop()
Description copied from interface:AdvancedCacheLoader.TaskContextInvoked from within the CacheLoaderTask, in order to signal the AdvancedCacheLoader implementation that iteration should be stopped early (before iteration is finished).- Specified by:
stopin interfaceAdvancedCacheLoader.TaskContext
-
isStopped
public boolean isStopped()
Description copied from interface:AdvancedCacheLoader.TaskContextVerifies if the the TaskContext is marked as stopped.- Specified by:
isStoppedin interfaceAdvancedCacheLoader.TaskContext
-
-