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 boolean
isStopped()
Verifies if the the TaskContext is marked as stopped.void
stop()
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.TaskContext
Invoked from within the CacheLoaderTask, in order to signal the AdvancedCacheLoader implementation that iteration should be stopped early (before iteration is finished).- Specified by:
stop
in interfaceAdvancedCacheLoader.TaskContext
-
isStopped
public boolean isStopped()
Description copied from interface:AdvancedCacheLoader.TaskContext
Verifies if the the TaskContext is marked as stopped.- Specified by:
isStopped
in interfaceAdvancedCacheLoader.TaskContext
-
-