@ThreadSafe
public static interface AdvancedCacheLoader.TaskContext
AdvancedCacheLoader.CacheLoaderTask
a way of canceling the entry
iteration. Should be thread safe.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).
|
Copyright © 2018 JBoss, a division of Red Hat. All rights reserved.