A B C D E G H I J L M N O P R S T V
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- abortPolicy() - Static method in class org.jboss.threads.JBossExecutors
-
Get the abort policy for a
ThreadPoolExecutor. - acceptInterruptDeferredEx(ExceptionBiConsumer<T, U, E>, T, U) - Static method in class org.jboss.threads.JBossThread
- acceptInterruptDeferredEx(ExceptionConsumer<T, E>, T) - Static method in class org.jboss.threads.JBossThread
- acceptInterruptDeferredEx(ExceptionObjIntConsumer<T, E>, T, int) - Static method in class org.jboss.threads.JBossThread
- acceptInterruptDeferredEx(ExceptionObjLongConsumer<T, E>, T, long) - Static method in class org.jboss.threads.JBossThread
- acceptInterruptResumedEx(ExceptionBiConsumer<T, U, E>, T, U) - Static method in class org.jboss.threads.JBossThread
- acceptInterruptResumedEx(ExceptionConsumer<T, E>, T) - Static method in class org.jboss.threads.JBossThread
- acceptInterruptResumedEx(ExceptionObjIntConsumer<T, E>, T, int) - Static method in class org.jboss.threads.JBossThread
- acceptInterruptResumedEx(ExceptionObjLongConsumer<T, E>, T, long) - Static method in class org.jboss.threads.JBossThread
- acceptWithInterruptHandler(InterruptHandler, ExceptionBiConsumer<T, U, E>, T, U) - Static method in class org.jboss.threads.JBossThread
- acceptWithInterruptHandler(InterruptHandler, ExceptionConsumer<T, E>, T) - Static method in class org.jboss.threads.JBossThread
- acceptWithInterruptHandler(InterruptHandler, ExceptionObjIntConsumer<T, E>, T, int) - Static method in class org.jboss.threads.JBossThread
- acceptWithInterruptHandler(InterruptHandler, ExceptionObjLongConsumer<T, E>, T, long) - Static method in class org.jboss.threads.JBossThread
- allowCoreThreadTimeOut(boolean) - Method in class org.jboss.threads.EnhancedQueueExecutor
-
Establish whether core threads are allowed to time out.
- allowCoreThreadTimeOut(boolean) - Method in class org.jboss.threads.EnhancedQueueExecutor.Builder
-
Establish whether core threads are allowed to time out.
- allowsCoreThreadTimeOut() - Method in class org.jboss.threads.EnhancedQueueExecutor
-
Determine whether core threads are allowed to time out.
- allowsCoreThreadTimeOut() - Method in class org.jboss.threads.EnhancedQueueExecutor.Builder
-
Determine whether core threads are allowed to time out.
- applyInterruptDeferredEx(ExceptionBiFunction<T, U, R, E>, T, U) - Static method in class org.jboss.threads.JBossThread
- applyInterruptDeferredEx(ExceptionFunction<T, R, E>, T) - Static method in class org.jboss.threads.JBossThread
- applyInterruptResumedEx(ExceptionBiFunction<T, U, R, E>, T, U) - Static method in class org.jboss.threads.JBossThread
- applyInterruptResumedEx(ExceptionFunction<T, R, E>, T) - Static method in class org.jboss.threads.JBossThread
- applyWithInterruptHandler(InterruptHandler, ExceptionBiFunction<T, U, R, E>, T, U) - Static method in class org.jboss.threads.JBossThread
- applyWithInterruptHandler(InterruptHandler, ExceptionFunction<T, R, E>, T) - Static method in class org.jboss.threads.JBossThread
- awaitTermination(long, TimeUnit) - Method in class org.jboss.threads.EnhancedQueueExecutor
-
Wait for the thread pool to complete termination.
- awaitTermination(long, TimeUnit) - Method in class org.jboss.threads.ViewExecutor
B
- build() - Method in class org.jboss.threads.EnhancedQueueExecutor.Builder
-
Construct the executor from the configured parameters.
- build() - Method in class org.jboss.threads.ViewExecutor.Builder
- builder(Executor) - Static method in class org.jboss.threads.ViewExecutor
- Builder() - Constructor for class org.jboss.threads.EnhancedQueueExecutor.Builder
-
Construct a new instance.
C
- callerRunsPolicy() - Static method in class org.jboss.threads.JBossExecutors
-
Get the caller-runs policy for a
ThreadPoolExecutor. - cannotAwaitWithin() - Method in class org.jboss.threads.Messages_$logger
- cannotAwaitWithin$str() - Method in class org.jboss.threads.Messages_$logger
- classLoaderPreservingTask(Runnable) - Static method in class org.jboss.threads.JBossExecutors
-
Create a task that delegates to the given task, preserving the context classloader which was in effect when this method was invoked.
- contextClassLoaderExecutor(Executor, ClassLoader) - Static method in class org.jboss.threads.JBossExecutors
-
Create an executor which runs tasks with the given context class loader.
- contextClassLoaderResetter() - Static method in class org.jboss.threads.JBossExecutors
-
Get a
Runnablewhich, when executed, clears the thread context class loader (if the caller has sufficient privileges). - currentThread() - Static method in class org.jboss.threads.JBossThread
-
Get the current
JBossThread, ornullif the current thread is not aJBossThread.
D
- directExecutor() - Static method in class org.jboss.threads.JBossExecutors
-
Get the direct executor.
- DISABLE_HINT - Static variable in class org.jboss.threads.EnhancedQueueExecutor
-
A global hint which establishes whether it is recommended to disable uses of
EnhancedQueueExecutor. - discardingExecutor() - Static method in class org.jboss.threads.JBossExecutors
-
Get the discarding executor.
- discardingExecutorService() - Static method in class org.jboss.threads.JBossExecutors
-
Get the discarding executor service.
- discardOldestPolicy() - Static method in class org.jboss.threads.JBossExecutors
-
Get the discard-oldest policy for a
ThreadPoolExecutor. - discardPolicy() - Static method in class org.jboss.threads.JBossExecutors
-
Get the discard policy for a
ThreadPoolExecutor.
E
- EnhancedQueueExecutor - Class in org.jboss.threads
-
A task-or-thread queue backed thread pool executor service.
- EnhancedQueueExecutor.Builder - Class in org.jboss.threads
-
The builder class for an
EnhancedQueueExecutor. - execute(Runnable) - Method in class org.jboss.threads.EnhancedQueueExecutor
-
Execute a task.
- execute(Runnable) - Method in class org.jboss.threads.ViewExecutor
- executeWithInterruptDeferred(Runnable) - Static method in class org.jboss.threads.JBossThread
-
Defer interrupts for the duration of some task.
- executeWithInterruptDeferred(PrivilegedAction<T>) - Static method in class org.jboss.threads.JBossThread
-
Defer interrupts for the duration of some task.
- executeWithInterruptDeferred(PrivilegedExceptionAction<T>) - Static method in class org.jboss.threads.JBossThread
-
Defer interrupts for the duration of some task.
- executeWithInterruptDeferred(Callable<T>) - Static method in class org.jboss.threads.JBossThread
-
Defer interrupts for the duration of some task.
G
- getActiveCount() - Method in class org.jboss.threads.EnhancedQueueExecutor
-
Get an estimate of the number of threads which are currently doing work on behalf of the thread pool.
- getActiveCount() - Method in interface org.jboss.threads.management.StandardThreadPoolMXBean
-
Get an estimate of the current number of active (busy) threads.
- getAndSetInterruptHandler(InterruptHandler) - Static method in class org.jboss.threads.JBossThread
-
Swap the current thread's active interrupt handler.
- getCompletedTaskCount() - Method in class org.jboss.threads.EnhancedQueueExecutor
-
Get an estimate of the number of tasks completed by this thread pool.
- getCompletedTaskCount() - Method in interface org.jboss.threads.management.StandardThreadPoolMXBean
-
Get an estimate of the number of tasks completed by this thread pool.
- getCorePoolSize() - Method in class org.jboss.threads.EnhancedQueueExecutor.Builder
-
Get the core pool size.
- getCorePoolSize() - Method in class org.jboss.threads.EnhancedQueueExecutor
-
Get the core pool size.
- getCorePoolSize() - Method in interface org.jboss.threads.management.StandardThreadPoolMXBean
-
Get the core pool size.
- getCurrentThreadCount() - Method in class org.jboss.threads.JBossScheduledThreadPoolExecutor
- getDelegate() - Method in class org.jboss.threads.ViewExecutor.Builder
- getExceptionHandler() - Method in class org.jboss.threads.EnhancedQueueExecutor.Builder
-
Get the uncaught exception handler.
- getExceptionHandler() - Method in class org.jboss.threads.EnhancedQueueExecutor
-
Get the exception handler to use for uncaught exceptions.
- getExceptionHandler() - Method in class org.jboss.threads.ViewExecutor
- getGrowthResistance() - Method in class org.jboss.threads.EnhancedQueueExecutor.Builder
-
Get the thread pool growth resistance.
- getGrowthResistance() - Method in class org.jboss.threads.EnhancedQueueExecutor
-
Get the thread pool growth resistance.
- getGrowthResistance() - Method in interface org.jboss.threads.management.StandardThreadPoolMXBean
-
Get the pool size growth resistance factor.
- getHandoffExecutor() - Method in class org.jboss.threads.EnhancedQueueExecutor.Builder
-
Get the handoff executor.
- getHandoffExecutor() - Method in class org.jboss.threads.EnhancedQueueExecutor
-
Get the executor to delegate to in the event of task rejection.
- getHandoffExecutor() - Method in class org.jboss.threads.ManagedThreadPoolExecutor
- getInterruptDeferredEx(ExceptionSupplier<T, E>) - Static method in class org.jboss.threads.JBossThread
- getInterruptResumedEx(ExceptionSupplier<T, E>) - Static method in class org.jboss.threads.JBossThread
- getJarName() - Static method in class org.jboss.threads.Version
-
Get the name of the JBoss Modules JAR.
- getKeepAliveTime() - Method in class org.jboss.threads.EnhancedQueueExecutor.Builder
-
Get the thread keep-alive time.
- getKeepAliveTime() - Method in class org.jboss.threads.EnhancedQueueExecutor
-
Get the thread keep-alive time.
- getKeepAliveTime() - Method in class org.jboss.threads.JBossScheduledThreadPoolExecutor
- getKeepAliveTime(TimeUnit) - Method in class org.jboss.threads.EnhancedQueueExecutor.Builder
-
Deprecated.Use
EnhancedQueueExecutor.Builder.getKeepAliveTime()instead. - getKeepAliveTime(TimeUnit) - Method in class org.jboss.threads.EnhancedQueueExecutor
-
Deprecated.Use
EnhancedQueueExecutor.getKeepAliveTime()instead. - getKeepAliveTimeSeconds() - Method in interface org.jboss.threads.management.StandardThreadPoolMXBean
-
Get the thread keep-alive time, in seconds.
- getLargestPoolSize() - Method in class org.jboss.threads.EnhancedQueueExecutor
-
Get an estimate of the peak number of threads that the pool has ever held.
- getLargestPoolSize() - Method in interface org.jboss.threads.management.StandardThreadPoolMXBean
-
Get an estimate of the peak number of threads that the pool has ever held.
- getLargestQueueSize() - Method in class org.jboss.threads.EnhancedQueueExecutor
-
Get an estimate of the peak size of the queue.
- getLargestQueueSize() - Method in interface org.jboss.threads.management.StandardThreadPoolMXBean
-
Get an estimate of the peak size of the queue, if any.
- getLargestThreadCount() - Method in class org.jboss.threads.JBossScheduledThreadPoolExecutor
- getLoggingLocale() - Method in class org.jboss.threads.Messages_$logger
- getMaximumPoolSize() - Method in class org.jboss.threads.EnhancedQueueExecutor.Builder
-
Get the maximum pool size.
- getMaximumPoolSize() - Method in class org.jboss.threads.EnhancedQueueExecutor
-
Get the maximum pool size.
- getMaximumPoolSize() - Method in interface org.jboss.threads.management.StandardThreadPoolMXBean
-
Get the maximum pool size.
- getMaximumQueueSize() - Method in class org.jboss.threads.EnhancedQueueExecutor.Builder
-
Get the maximum queue size.
- getMaximumQueueSize() - Method in class org.jboss.threads.EnhancedQueueExecutor
-
Get the maximum queue size.
- getMaximumQueueSize() - Method in interface org.jboss.threads.management.StandardThreadPoolMXBean
-
Get the maximum queue size for this thread pool.
- getMaxSize() - Method in class org.jboss.threads.ViewExecutor.Builder
- getMaxThreads() - Method in class org.jboss.threads.JBossScheduledThreadPoolExecutor
- getMBeanName() - Method in class org.jboss.threads.EnhancedQueueExecutor.Builder
-
Get the overridden MBean name.
- getPoolSize() - Method in class org.jboss.threads.EnhancedQueueExecutor
-
Get an estimate of the current number of active threads in the pool.
- getPoolSize() - Method in interface org.jboss.threads.management.StandardThreadPoolMXBean
-
Get an estimate of the current number of active threads in the pool.
- getQueueInitialSize() - Method in class org.jboss.threads.ViewExecutor.Builder
- getQueueLimit() - Method in class org.jboss.threads.ViewExecutor.Builder
- getQueueSize() - Method in class org.jboss.threads.EnhancedQueueExecutor
-
Get an estimate of the current queue size.
- getQueueSize() - Method in class org.jboss.threads.JBossScheduledThreadPoolExecutor
- getQueueSize() - Method in interface org.jboss.threads.management.StandardThreadPoolMXBean
-
Get an estimate of the current queue size, if any.
- getRejectedCount() - Method in class org.jboss.threads.JBossScheduledThreadPoolExecutor
- getRejectedExecutionHandler() - Method in class org.jboss.threads.JBossScheduledThreadPoolExecutor
- getRejectedTaskCount() - Method in class org.jboss.threads.EnhancedQueueExecutor
-
Get an estimate of the total number of tasks ever rejected by this thread pool for any reason.
- getRejectedTaskCount() - Method in interface org.jboss.threads.management.StandardThreadPoolMXBean
-
Get an estimate of the total number of tasks ever rejected by this thread pool for any reason.
- getRunningThreads() - Method in class org.jboss.threads.EnhancedQueueExecutor
-
Get an array containing an approximate snapshot of the currently running threads in this executor.
- getSpinMissCount() - Method in interface org.jboss.threads.management.StandardThreadPoolMXBean
-
Get the number of spin misses that have occurred.
- getSubmittedTaskCount() - Method in class org.jboss.threads.EnhancedQueueExecutor
-
Get an estimate of the total number of tasks ever submitted to this thread pool.
- getSubmittedTaskCount() - Method in interface org.jboss.threads.management.StandardThreadPoolMXBean
-
Get an estimate of the total number of tasks ever submitted to this thread pool.
- getTerminationTask() - Method in class org.jboss.threads.EnhancedQueueExecutor.Builder
-
Get the termination task.
- getTerminationTask() - Method in class org.jboss.threads.ViewExecutor
- getThreadFactory() - Method in class org.jboss.threads.EnhancedQueueExecutor.Builder
-
Get the configured thread factory.
- getThreadPoolMXBean() - Method in class org.jboss.threads.EnhancedQueueExecutor
- getThreadPoolMXBean() - Method in class org.jboss.threads.ManagedThreadPoolExecutor
- getThreadPoolMXBean() - Method in interface org.jboss.threads.management.ManageableThreadPoolExecutorService
-
Create or acquire an MXBean instance for this thread pool.
- getUncaughtHandler() - Method in class org.jboss.threads.ViewExecutor.Builder
- getVersionString() - Static method in class org.jboss.threads.Version
-
Get the version string of JBoss Modules.
- getWithInterruptHandler(InterruptHandler, ExceptionSupplier<R, E>) - Static method in class org.jboss.threads.JBossThread
H
- handleInterrupt(Thread) - Method in interface org.jboss.threads.InterruptHandler
-
Handle an interrupt condition on the given thread.
- handoffPolicy(Executor) - Static method in class org.jboss.threads.JBossExecutors
-
Get a handoff policy for a
ThreadPoolExecutor.
I
- interrupt() - Method in class org.jboss.threads.JBossThread
-
Interrupt this thread.
- InterruptHandler - Interface in org.jboss.threads
-
A thread interrupt handler.
- interruptHandlerThrew(Throwable, InterruptHandler) - Method in class org.jboss.threads.Messages_$logger
- interruptHandlerThrew$str() - Method in class org.jboss.threads.Messages_$logger
- isAllowCoreThreadTimeOut() - Method in interface org.jboss.threads.management.StandardThreadPoolMXBean
-
Determine whether core threads are allowed to time out.
- isCorePoolSizeSupported() - Method in interface org.jboss.threads.management.StandardThreadPoolMXBean
-
Determine whether this implementation supports a separate core pool size.
- isCoreThreadPrestartSupported() - Method in interface org.jboss.threads.management.StandardThreadPoolMXBean
-
Determine whether this thread pool allows manual pre-start of core threads.
- isGrowthResistanceSupported() - Method in interface org.jboss.threads.management.StandardThreadPoolMXBean
-
Determine whether the thread pool supports a growth resistance factor.
- isInterrupted() - Method in class org.jboss.threads.JBossThread
- isQueueBounded() - Method in interface org.jboss.threads.management.StandardThreadPoolMXBean
-
Determine whether there is a bounded queue backing this thread pool.
- isQueueSizeModifiable() - Method in interface org.jboss.threads.management.StandardThreadPoolMXBean
-
Determine whether the maximum queue size is modifiable.
- isRegisterMBean() - Method in class org.jboss.threads.EnhancedQueueExecutor.Builder
-
Determine whether an MBean should automatically be registered for this pool.
- isShutdown() - Method in class org.jboss.threads.EnhancedQueueExecutor
-
Determine whether shutdown was requested on this thread pool.
- isShutdown() - Method in interface org.jboss.threads.management.StandardThreadPoolMXBean
-
Determine whether shutdown was requested.
- isShutdown() - Method in class org.jboss.threads.ViewExecutor
- isTerminated() - Method in class org.jboss.threads.EnhancedQueueExecutor
-
Determine whether shutdown has completed on this thread pool.
- isTerminated() - Method in interface org.jboss.threads.management.StandardThreadPoolMXBean
-
Determine whether shutdown is complete.
- isTerminated() - Method in class org.jboss.threads.ViewExecutor
- isTerminating() - Method in class org.jboss.threads.EnhancedQueueExecutor
-
Determine if this thread pool is in the process of terminating but has not yet completed.
- isTerminating() - Method in interface org.jboss.threads.management.StandardThreadPoolMXBean
-
Determine whether shutdown is in progress.
J
- JBossExecutors - Class in org.jboss.threads
-
JBoss thread- and executor-related utility and factory methods.
- JBossScheduledThreadPoolExecutor - Class in org.jboss.threads
- JBossScheduledThreadPoolExecutor(int, Runnable) - Constructor for class org.jboss.threads.JBossScheduledThreadPoolExecutor
- JBossScheduledThreadPoolExecutor(int, RejectedExecutionHandler, Runnable) - Constructor for class org.jboss.threads.JBossScheduledThreadPoolExecutor
- JBossScheduledThreadPoolExecutor(int, ThreadFactory, Runnable) - Constructor for class org.jboss.threads.JBossScheduledThreadPoolExecutor
- JBossScheduledThreadPoolExecutor(int, ThreadFactory, RejectedExecutionHandler, Runnable) - Constructor for class org.jboss.threads.JBossScheduledThreadPoolExecutor
- JBossThread - Class in org.jboss.threads
-
A JBoss thread.
- JBossThread(Runnable) - Constructor for class org.jboss.threads.JBossThread
-
Construct a new instance.
- JBossThread(Runnable, String) - Constructor for class org.jboss.threads.JBossThread
-
Construct a new instance.
- JBossThread(ThreadGroup, Runnable) - Constructor for class org.jboss.threads.JBossThread
-
Construct a new instance.
- JBossThread(ThreadGroup, Runnable, String) - Constructor for class org.jboss.threads.JBossThread
-
Construct a new instance.
- JBossThread(ThreadGroup, Runnable, String, long) - Constructor for class org.jboss.threads.JBossThread
-
Construct a new instance.
- JBossThreadFactory - Class in org.jboss.threads
-
A factory for
JBossThreadinstances. - JBossThreadFactory(ThreadGroup, Boolean, Integer, String, Thread.UncaughtExceptionHandler, Long) - Constructor for class org.jboss.threads.JBossThreadFactory
-
Construct a new instance.
- JBossThreadFactory(ThreadGroup, Boolean, Integer, String, Thread.UncaughtExceptionHandler, Long, AccessControlContext) - Constructor for class org.jboss.threads.JBossThreadFactory
-
Deprecated.
L
- loggingExceptionHandler() - Static method in class org.jboss.threads.JBossExecutors
-
Get an uncaught exception handler which logs to the default error logger.
- loggingExceptionHandler(String) - Static method in class org.jboss.threads.JBossExecutors
-
Get an uncaught exception handler which logs to the given logger.
- loggingExceptionHandler(Logger) - Static method in class org.jboss.threads.JBossExecutors
-
Get an uncaught exception handler which logs to the given logger.
M
- main(String[]) - Static method in class org.jboss.threads.Version
-
Print out the current version on
System.out. - ManageableThreadPoolExecutorService - Interface in org.jboss.threads.management
-
A thread pool for which an MBean can be obtained.
- ManagedThreadPoolExecutor - Class in org.jboss.threads
-
A version of
ThreadPoolExecutorwhich implementsManageableThreadPoolExecutorServicein order to allow opting out of usingEnhancedQueueExecutor. - ManagedThreadPoolExecutor(int, int, long, TimeUnit, BlockingQueue<Runnable>, Runnable) - Constructor for class org.jboss.threads.ManagedThreadPoolExecutor
- ManagedThreadPoolExecutor(int, int, long, TimeUnit, BlockingQueue<Runnable>, Executor, Runnable) - Constructor for class org.jboss.threads.ManagedThreadPoolExecutor
- ManagedThreadPoolExecutor(int, int, long, TimeUnit, BlockingQueue<Runnable>, ThreadFactory, Runnable) - Constructor for class org.jboss.threads.ManagedThreadPoolExecutor
- ManagedThreadPoolExecutor(int, int, long, TimeUnit, BlockingQueue<Runnable>, ThreadFactory, Executor, Runnable) - Constructor for class org.jboss.threads.ManagedThreadPoolExecutor
- Messages_$logger - Class in org.jboss.threads
-
Warning this class consists of generated code.
- Messages_$logger(Logger) - Constructor for class org.jboss.threads.Messages_$logger
N
- newThread(Runnable) - Method in class org.jboss.threads.JBossThreadFactory
- noInterruptHandlers() - Method in class org.jboss.threads.Messages_$logger
- noInterruptHandlers$str() - Method in class org.jboss.threads.Messages_$logger
- notAllowedContainerManaged(String) - Method in class org.jboss.threads.Messages_$logger
- notAllowedContainerManaged$str() - Method in class org.jboss.threads.Messages_$logger
- notShutDown() - Method in class org.jboss.threads.Messages_$logger
- notShutDown$str() - Method in class org.jboss.threads.Messages_$logger
- nullRunnable() - Static method in class org.jboss.threads.JBossExecutors
-
Get the null runnable which does nothing.
O
- onExit(Runnable) - Static method in class org.jboss.threads.JBossThread
-
Register a runnable task to be executed when the current thread exits.
- org.jboss.threads - package org.jboss.threads
- org.jboss.threads.management - package org.jboss.threads.management
P
- prestartAllCoreThreads() - Method in class org.jboss.threads.EnhancedQueueExecutor
-
Start all core threads.
- prestartAllCoreThreads() - Method in interface org.jboss.threads.management.StandardThreadPoolMXBean
-
Attempt to start all core threads.
- prestartCoreThread() - Method in class org.jboss.threads.EnhancedQueueExecutor
-
Start an idle core thread.
- prestartCoreThread() - Method in interface org.jboss.threads.management.StandardThreadPoolMXBean
-
Attempt to start a core thread without submitting work to it.
- protectedExecutorService(Executor) - Static method in class org.jboss.threads.JBossExecutors
-
Wrap an executor with an
ExecutorServiceinstance which supports all the features ofExecutorServiceexcept for shutting down the executor. - protectedScheduledExecutorService(ScheduledExecutorService) - Static method in class org.jboss.threads.JBossExecutors
-
Wrap a scheduled executor with a
ScheduledExecutorServiceinstance which supports all the features ofScheduledExecutorServiceexcept for shutting down the executor.
R
- rejectingExecutor() - Static method in class org.jboss.threads.JBossExecutors
-
Get the rejecting executor.
- rejectingExecutor(String) - Static method in class org.jboss.threads.JBossExecutors
-
Get a rejecting executor.
- rejectingExecutorService() - Static method in class org.jboss.threads.JBossExecutors
-
Get the rejecting executor service.
- rejectingExecutorService(String) - Static method in class org.jboss.threads.JBossExecutors
-
Get the rejecting executor service.
- resettingThreadFactory(ThreadFactory) - Static method in class org.jboss.threads.JBossExecutors
-
Create a thread factory which resets all thread-local storage and delegates to the given thread factory.
- run() - Method in class org.jboss.threads.JBossThread
-
Execute the thread's
Runnable. - runInterruptDeferredEx(ExceptionRunnable<E>) - Static method in class org.jboss.threads.JBossThread
- runInterruptResumedEx(ExceptionRunnable<E>) - Static method in class org.jboss.threads.JBossThread
- runWithInterruptHandler(InterruptHandler, ExceptionRunnable<E>) - Static method in class org.jboss.threads.JBossThread
S
- setAllowCoreThreadTimeOut(boolean) - Method in interface org.jboss.threads.management.StandardThreadPoolMXBean
-
Establish whether core threads are allowed to time out.
- setCorePoolSize(int) - Method in class org.jboss.threads.EnhancedQueueExecutor.Builder
-
Set the core pool size.
- setCorePoolSize(int) - Method in class org.jboss.threads.EnhancedQueueExecutor
-
Set the core pool size.
- setCorePoolSize(int) - Method in interface org.jboss.threads.management.StandardThreadPoolMXBean
-
Set the core pool size.
- setExceptionHandler(Thread.UncaughtExceptionHandler) - Method in class org.jboss.threads.EnhancedQueueExecutor.Builder
-
Set the uncaught exception handler.
- setExceptionHandler(Thread.UncaughtExceptionHandler) - Method in class org.jboss.threads.EnhancedQueueExecutor
-
Set the exception handler to use for uncaught exceptions.
- setExceptionHandler(Thread.UncaughtExceptionHandler) - Method in class org.jboss.threads.ViewExecutor
- setGrowthResistance(float) - Method in class org.jboss.threads.EnhancedQueueExecutor.Builder
-
Set the thread pool growth resistance.
- setGrowthResistance(float) - Method in class org.jboss.threads.EnhancedQueueExecutor
-
Set the growth resistance factor.
- setGrowthResistance(float) - Method in interface org.jboss.threads.management.StandardThreadPoolMXBean
-
Set the pool size growth resistance factor, if supported.
- setHandoffExecutor(Executor) - Method in class org.jboss.threads.EnhancedQueueExecutor.Builder
-
Set the handoff executor.
- setHandoffExecutor(Executor) - Method in class org.jboss.threads.EnhancedQueueExecutor
-
Set the executor to delegate to in the event of task rejection.
- setHandoffExecutor(Executor) - Method in class org.jboss.threads.ManagedThreadPoolExecutor
- setKeepAliveTime(long) - Method in class org.jboss.threads.JBossScheduledThreadPoolExecutor
- setKeepAliveTime(long, TimeUnit) - Method in class org.jboss.threads.EnhancedQueueExecutor.Builder
-
Deprecated.
- setKeepAliveTime(long, TimeUnit) - Method in class org.jboss.threads.EnhancedQueueExecutor
-
Deprecated.Use
EnhancedQueueExecutor.setKeepAliveTime(Duration)instead. - setKeepAliveTime(long, TimeUnit) - Method in class org.jboss.threads.JBossScheduledThreadPoolExecutor
- setKeepAliveTime(Duration) - Method in class org.jboss.threads.EnhancedQueueExecutor.Builder
-
Set the thread keep-alive time.
- setKeepAliveTime(Duration) - Method in class org.jboss.threads.EnhancedQueueExecutor
-
Set the thread keep-alive time.
- setKeepAliveTimeSeconds(long) - Method in interface org.jboss.threads.management.StandardThreadPoolMXBean
-
Set the thread keep-alive time, in seconds.
- setMaximumPoolSize(int) - Method in class org.jboss.threads.EnhancedQueueExecutor.Builder
-
Set the maximum pool size.
- setMaximumPoolSize(int) - Method in class org.jboss.threads.EnhancedQueueExecutor
-
Set the maximum pool size.
- setMaximumPoolSize(int) - Method in interface org.jboss.threads.management.StandardThreadPoolMXBean
-
Set the maximum pool size.
- setMaximumQueueSize(int) - Method in class org.jboss.threads.EnhancedQueueExecutor.Builder
-
Set the maximum queue size.
- setMaximumQueueSize(int) - Method in class org.jboss.threads.EnhancedQueueExecutor
-
Set the maximum queue size.
- setMaximumQueueSize(int) - Method in interface org.jboss.threads.management.StandardThreadPoolMXBean
-
Set the maximum queue size for this thread pool.
- setMaxSize(int) - Method in class org.jboss.threads.ViewExecutor.Builder
- setMaxThreads(int) - Method in class org.jboss.threads.JBossScheduledThreadPoolExecutor
- setMBeanName(String) - Method in class org.jboss.threads.EnhancedQueueExecutor.Builder
-
Set the overridden MBean name.
- setQueueInitialSize(int) - Method in class org.jboss.threads.ViewExecutor.Builder
- setQueueLimit(int) - Method in class org.jboss.threads.ViewExecutor.Builder
- setRegisterMBean(boolean) - Method in class org.jboss.threads.EnhancedQueueExecutor.Builder
-
Establish whether an MBean should automatically be registered for this pool.
- setRejectedExecutionHandler(RejectedExecutionHandler) - Method in class org.jboss.threads.JBossScheduledThreadPoolExecutor
- setTerminationTask(Runnable) - Method in class org.jboss.threads.EnhancedQueueExecutor.Builder
-
Set the termination task.
- setTerminationTask(Runnable) - Method in class org.jboss.threads.EnhancedQueueExecutor
-
Set the termination task, overwriting any previous setting.
- setTerminationTask(Runnable) - Method in class org.jboss.threads.ViewExecutor
- setThreadFactory(ThreadFactory) - Method in class org.jboss.threads.EnhancedQueueExecutor.Builder
-
Set the configured thread factory.
- setUncaughtExceptionHandler(Thread.UncaughtExceptionHandler) - Method in class org.jboss.threads.JBossThread
-
Change the uncaught exception handler for this thread.
- setUncaughtHandler(Thread.UncaughtExceptionHandler) - Method in class org.jboss.threads.ViewExecutor.Builder
- shutdown() - Method in class org.jboss.threads.EnhancedQueueExecutor
-
Request that shutdown be initiated for this thread pool.
- shutdown() - Method in class org.jboss.threads.ViewExecutor
- shutdown(boolean) - Method in class org.jboss.threads.EnhancedQueueExecutor
-
Initiate shutdown of this thread pool.
- shutdown(boolean) - Method in class org.jboss.threads.ViewExecutor
- shutDownInitiated() - Method in class org.jboss.threads.Messages_$logger
- shutDownInitiated$str() - Method in class org.jboss.threads.Messages_$logger
- shutdownNow() - Method in class org.jboss.threads.EnhancedQueueExecutor
-
Attempt to stop the thread pool immediately by interrupting all running threads and de-queueing all pending tasks.
- shutdownNow() - Method in class org.jboss.threads.ViewExecutor
- StandardThreadPoolMXBean - Interface in org.jboss.threads.management
-
An MXBean which contains the attributes and operations found on all standard thread pools.
- start() - Method in class org.jboss.threads.JBossThread
-
Start the thread.
- StoppedExecutorException - Exception in org.jboss.threads
-
Thrown when a task is submitted to an executor which is in the process of, or has completed shutting down.
- StoppedExecutorException() - Constructor for exception org.jboss.threads.StoppedExecutorException
-
Constructs a
StoppedExecutorExceptionwith no detail message. - StoppedExecutorException(String) - Constructor for exception org.jboss.threads.StoppedExecutorException
-
Constructs a
StoppedExecutorExceptionwith the specified detail message. - StoppedExecutorException(String, Throwable) - Constructor for exception org.jboss.threads.StoppedExecutorException
-
Constructs a
StoppedExecutorExceptionwith the specified detail message and cause. - StoppedExecutorException(Throwable) - Constructor for exception org.jboss.threads.StoppedExecutorException
-
Constructs a
StoppedExecutorExceptionwith the specified cause.
T
- terminated() - Method in class org.jboss.threads.JBossScheduledThreadPoolExecutor
- terminated() - Method in class org.jboss.threads.ManagedThreadPoolExecutor
- toString() - Method in class org.jboss.threads.ViewExecutor
V
- version(String) - Method in class org.jboss.threads.Messages_$logger
- Version - Class in org.jboss.threads
- version$str() - Method in class org.jboss.threads.Messages_$logger
- ViewExecutor - Class in org.jboss.threads
-
An executor service that is actually a "view" over another executor service.
- ViewExecutor.Builder - Class in org.jboss.threads
All Classes All Packages