public static interface JexlContext.CancellationHandle
A script running in a thread can thus be notified through this reference of its cancellation through the context. It uses the same interpreter logic that reacts to cancellation and is an alternative to using callable() and/or interrupting script interpreter threads.
Modifier and Type | Method and Description |
---|---|
AtomicBoolean |
getCancellation() |
AtomicBoolean getCancellation()
Copyright © 2001–2022 The Apache Software Foundation. All rights reserved.