public final class MafExecutorService
extends Object
| Modifier and Type | Method and Description |
|---|---|
static void |
execute(Runnable task)
Executes a Java Runnable on a background thread in the context of the calling
thread's MAF feature context.
|
static boolean |
isExecutorServiceThread() |
static java.util.concurrent.Future<?> |
submit(Runnable task)
Submit a Java Runnable to be executed on a background thread in the context of the
calling thread's MAF feature context.
|
public static final void execute(Runnable task)
throws IllegalStateException
task - the Runnable to execute.IllegalStateException - if the calling thread does not have an associated
MAF feature context.public static final java.util.concurrent.Future<?> submit(Runnable task)
task - the Runnable to execute.IllegalStateException - if the calling thread does not have an associated
MAF feature context.public static final boolean isExecutorServiceThread()