Interface JexlContext.CancellationHandle

Enclosing interface:
JexlContext

public static interface JexlContext.CancellationHandle
A marker interface of the JexlContext sharing a cancelling flag.

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.

Since:
3.2