Enum Class Invocable.InvocationType

java.lang.Object
java.lang.Enum<Invocable.InvocationType>
org.eclipse.jetty.util.thread.Invocable.InvocationType
All Implemented Interfaces:
Serializable, Comparable<Invocable.InvocationType>, Constable
Enclosing interface:
Invocable

public static enum Invocable.InvocationType extends Enum<Invocable.InvocationType>

The behavior of an Invocable task when it is called.

Typically, tasks such as Runnables or Callbacks declare their invocation type; this information is then used by the code that should invoke the Runnable or Callback to decide whether to invoke it directly, or submit it to a thread pool to be invoked by a different thread.