|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use DirectExecutor | |
---|---|
org.jboss.threads |
Uses of DirectExecutor in org.jboss.threads |
---|
Subinterfaces of DirectExecutor in org.jboss.threads | |
---|---|
interface |
DirectExecutorService
A direct executor service. |
Classes in org.jboss.threads that implement DirectExecutor | |
---|---|
class |
ProtectedDirectExecutor
A direct executor that simply delegates to another direct executor. |
class |
ProtectedDirectExecutorService
A DirectExecutor version of ProtectedExecutorService . |
Methods in org.jboss.threads that return DirectExecutor | |
---|---|
static DirectExecutor |
JBossExecutors.contextClassLoaderExecutor(DirectExecutor delegate,
java.lang.ClassLoader taskClassLoader)
Create a direct executor which runs tasks with the given context class loader. |
static DirectExecutor |
JBossExecutors.directExecutor()
Get the direct executor. |
static DirectExecutor |
JBossExecutors.discardingExecutor()
Get the discarding executor. |
static DirectExecutor |
JBossExecutors.exceptionLoggingExecutor(DirectExecutor delegate,
java.lang.Object log)
Create a direct executor which consumes and logs errors that are thrown. |
static DirectExecutor |
JBossExecutors.privilegedExecutor(DirectExecutor delegate,
java.security.AccessControlContext context)
Create a direct executor which runs with the privileges given by the supplied AccessControlContext instance. |
static DirectExecutor |
JBossExecutors.rejectingExecutor()
Get the rejecting executor. |
static DirectExecutor |
JBossExecutors.threadNameExecutor(DirectExecutor delegate,
java.lang.String newName)
Create a direct executor which changes the thread name for the duration of a task. |
static DirectExecutor |
JBossExecutors.threadNameNotateExecutor(DirectExecutor delegate,
java.lang.String notation)
Create a direct executor which adds a note to the thread name for the duration of a task. |
Methods in org.jboss.threads with parameters of type DirectExecutor | |
---|---|
static DirectExecutor |
JBossExecutors.contextClassLoaderExecutor(DirectExecutor delegate,
java.lang.ClassLoader taskClassLoader)
Create a direct executor which runs tasks with the given context class loader. |
static DirectExecutor |
JBossExecutors.exceptionLoggingExecutor(DirectExecutor delegate,
java.lang.Object log)
Create a direct executor which consumes and logs errors that are thrown. |
static java.lang.Runnable |
JBossExecutors.executorTask(DirectExecutor executor,
java.lang.Runnable task)
Get a task that runs the given task through the given direct executor. |
static DirectExecutor |
JBossExecutors.privilegedExecutor(DirectExecutor delegate,
java.security.AccessControlContext context)
Create a direct executor which runs with the privileges given by the supplied AccessControlContext instance. |
static DirectExecutorService |
JBossExecutors.protectedDirectExecutorService(DirectExecutor target)
Wrap a direct executor with an DirectExecutorService instance which supports all the features of ExecutorService
except for shutting down the executor. |
static DirectExecutor |
JBossExecutors.threadNameExecutor(DirectExecutor delegate,
java.lang.String newName)
Create a direct executor which changes the thread name for the duration of a task. |
static DirectExecutor |
JBossExecutors.threadNameNotateExecutor(DirectExecutor delegate,
java.lang.String notation)
Create a direct executor which adds a note to the thread name for the duration of a task. |
static java.util.concurrent.Executor |
JBossExecutors.wrappingExecutor(java.util.concurrent.Executor delegate,
DirectExecutor taskWrapper)
An executor which delegates to another executor, wrapping each task in a task wrapper. |
Constructors in org.jboss.threads with parameters of type DirectExecutor | |
---|---|
ProtectedDirectExecutor(DirectExecutor delegate)
|
|
ProtectedDirectExecutorService(DirectExecutor delegate)
|
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |