public class TaskContextImpl extends Object implements AdvancedCacheLoader.TaskContext
Constructor and Description |
---|
TaskContextImpl() |
Modifier and Type | Method and 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).
|
public void stop()
AdvancedCacheLoader.TaskContext
stop
in interface AdvancedCacheLoader.TaskContext
public boolean isStopped()
AdvancedCacheLoader.TaskContext
isStopped
in interface AdvancedCacheLoader.TaskContext
Copyright © 2017 JBoss, a division of Red Hat. All rights reserved.