Enum Invocable.InvocationType

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

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

The behavior of an Invocable when it is invoked.

Typically, 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.