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
  • Method Summary Link icon

    Modifier and Type
    Method
    Description
    Gets a cancelable boolean used by the interpreter
  • Method Details Link icon

    • getCancellation Link icon

      Gets a cancelable boolean used by the interpreter
      Returns:
      a cancelable boolean used by the interpreter