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.TaskContextstop in interface AdvancedCacheLoader.TaskContextpublic boolean isStopped()
AdvancedCacheLoader.TaskContextisStopped in interface AdvancedCacheLoader.TaskContextCopyright © 2015 JBoss, a division of Red Hat. All rights reserved.