Index

A B C D E F G H I J L M N O P R S T V W 
All Classes and Interfaces|All Packages|Serialized Form

A

abortPolicy() - Static method in class org.jboss.threads.JBossExecutors
Get the abort policy for a ThreadPoolExecutor.
AbstractListener() - Constructor for class org.jboss.threads.AsyncFuture.AbstractListener
 
acceptInterruptDeferredEx(ExceptionBiConsumer<T, U, E>, T, U) - Static method in class org.jboss.threads.JBossThread
Deprecated.
acceptInterruptDeferredEx(ExceptionConsumer<T, E>, T) - Static method in class org.jboss.threads.JBossThread
Deprecated.
acceptInterruptDeferredEx(ExceptionObjIntConsumer<T, E>, T, int) - Static method in class org.jboss.threads.JBossThread
Deprecated.
acceptInterruptDeferredEx(ExceptionObjLongConsumer<T, E>, T, long) - Static method in class org.jboss.threads.JBossThread
Deprecated.
acceptInterruptResumedEx(ExceptionBiConsumer<T, U, E>, T, U) - Static method in class org.jboss.threads.JBossThread
Deprecated.
acceptInterruptResumedEx(ExceptionConsumer<T, E>, T) - Static method in class org.jboss.threads.JBossThread
Deprecated.
acceptInterruptResumedEx(ExceptionObjIntConsumer<T, E>, T, int) - Static method in class org.jboss.threads.JBossThread
Deprecated.
acceptInterruptResumedEx(ExceptionObjLongConsumer<T, E>, T, long) - Static method in class org.jboss.threads.JBossThread
Deprecated.
acceptWithInterruptHandler(InterruptHandler, ExceptionBiConsumer<T, U, E>, T, U) - Static method in class org.jboss.threads.JBossThread
Deprecated.
acceptWithInterruptHandler(InterruptHandler, ExceptionConsumer<T, E>, T) - Static method in class org.jboss.threads.JBossThread
Deprecated.
acceptWithInterruptHandler(InterruptHandler, ExceptionObjIntConsumer<T, E>, T, int) - Static method in class org.jboss.threads.JBossThread
Deprecated.
acceptWithInterruptHandler(InterruptHandler, ExceptionObjLongConsumer<T, E>, T, long) - Static method in class org.jboss.threads.JBossThread
Deprecated.
addListener(AsyncFuture.Listener<? super T, A>, A) - Method in interface org.jboss.threads.AsyncFuture
Add an asynchronous listener to be called when this operation completes.
addListener(AsyncFuture.Listener<? super T, A>, A) - Method in class org.jboss.threads.AsyncFutureTask
Deprecated.
Add an asynchronous listener to be called when this operation completes.
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
Deprecated.
applyInterruptDeferredEx(ExceptionFunction<T, R, E>, T) - Static method in class org.jboss.threads.JBossThread
Deprecated.
applyInterruptResumedEx(ExceptionBiFunction<T, U, R, E>, T, U) - Static method in class org.jboss.threads.JBossThread
Deprecated.
applyInterruptResumedEx(ExceptionFunction<T, R, E>, T) - Static method in class org.jboss.threads.JBossThread
Deprecated.
applyWithInterruptHandler(InterruptHandler, ExceptionBiFunction<T, U, R, E>, T, U) - Static method in class org.jboss.threads.JBossThread
Deprecated.
applyWithInterruptHandler(InterruptHandler, ExceptionFunction<T, R, E>, T) - Static method in class org.jboss.threads.JBossThread
Deprecated.
asyncCancel(boolean) - Method in interface org.jboss.threads.AsyncCancellable
Handle an asynchronous cancellation.
asyncCancel(boolean) - Method in interface org.jboss.threads.AsyncFuture
Handle an asynchronous cancellation.
asyncCancel(boolean) - Method in class org.jboss.threads.AsyncFutureTask
Deprecated.
Cancel this task.
AsyncCancellable - Interface in org.jboss.threads
An interface which supports asynchronous cancellation.
AsyncFuture<T> - Interface in org.jboss.threads
This interface represents the result of an asynchronous future task, which provides all the features of Future while also adding several additional convenience methods and the ability to add asynchronous callbacks.
AsyncFuture.AbstractListener<T,A> - Class in org.jboss.threads
An abstract base class for an implementation of the Listener interface.
AsyncFuture.Listener<T,A> - Interface in org.jboss.threads
A listener for an asynchronous future computation result.
AsyncFuture.Status - Enum Class in org.jboss.threads
The possible statuses of an AsyncFuture.
AsyncFutureTask<T> - Class in org.jboss.threads
Deprecated.
This class is not friendly towards virtual threads.
AsyncFutureTask(Executor) - Constructor for class org.jboss.threads.AsyncFutureTask
Deprecated.
Construct a new instance.
await() - Method in interface org.jboss.threads.AsyncFuture
Wait if necessary for this operation to complete, returning the outcome.
await() - Method in class org.jboss.threads.AsyncFutureTask
Deprecated.
Wait if necessary for this operation to complete, returning the outcome.
await(long, TimeUnit) - Method in interface org.jboss.threads.AsyncFuture
Wait if necessary for this operation to complete, returning the outcome, which may include AsyncFuture.Status.WAITING if the timeout expires before the operation completes.
await(long, TimeUnit) - Method in class org.jboss.threads.AsyncFutureTask
Deprecated.
Wait if necessary for this operation to complete, returning the outcome, which may include AsyncFuture.Status.WAITING if the timeout expires before the operation completes.
awaitTermination(long, TimeUnit) - Method in class org.jboss.threads.EnhancedQueueExecutor
Wait for the thread pool to complete termination.
awaitUninterruptibly() - Method in interface org.jboss.threads.AsyncFuture
Wait (uninterruptibly) if necessary for this operation to complete, returning the outcome.
awaitUninterruptibly() - Method in class org.jboss.threads.AsyncFutureTask
Deprecated.
Wait (uninterruptibly) if necessary for this operation to complete, returning the outcome.
awaitUninterruptibly(long, TimeUnit) - Method in interface org.jboss.threads.AsyncFuture
Wait if necessary for this operation to complete, returning the outcome, which may include AsyncFuture.Status.WAITING if the timeout expires before the operation completes.
awaitUninterruptibly(long, TimeUnit) - Method in class org.jboss.threads.AsyncFutureTask
Deprecated.
Wait if necessary for this operation to complete, returning the outcome, which may include AsyncFuture.Status.WAITING if the timeout expires before the operation completes.

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.
cancel(boolean) - Method in interface org.jboss.threads.AsyncFuture
Synchronously cancel a task, blocking uninterruptibly until it is known whether such cancellation was successful.
cancel(boolean) - Method in class org.jboss.threads.AsyncFutureTask
Deprecated.
Synchronously cancel a task, blocking uninterruptibly until it is known whether such cancellation was successful.
CANCELLED - Enum constant in enum class org.jboss.threads.AsyncFuture.Status
The operation was cancelled before it completed.
captureContext() - Method in interface org.jboss.threads.ContextHandler
Capture the current context from the submitting thread.
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.
COMPLETE - Enum constant in enum class org.jboss.threads.AsyncFuture.Status
The operation has completed successfully.
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 Runnable which, when executed, clears the thread context class loader (if the caller has sufficient privileges).
ContextHandler<T> - Interface in org.jboss.threads
A handler for propagating context from a task submitter to a task execution.
currentThread() - Static method in class org.jboss.threads.JBossThread
Get the current JBossThread, or null if the current thread is not a JBossThread.

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.
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
Deprecated.
executeWithInterruptDeferred(PrivilegedExceptionAction<T>) - Static method in class org.jboss.threads.JBossThread
Deprecated.
executeWithInterruptDeferred(Callable<T>) - Static method in class org.jboss.threads.JBossThread
Defer interrupts for the duration of some task.

F

FAILED - Enum constant in enum class org.jboss.threads.AsyncFuture.Status
The operation has failed with some exception.

G

get() - Method in class org.jboss.threads.AsyncFutureTask
Deprecated.
get(long, TimeUnit) - Method in class org.jboss.threads.AsyncFutureTask
Deprecated.
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.
getContextHandler() - Method in class org.jboss.threads.EnhancedQueueExecutor.Builder
Get the context handler for the user-defined context.
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
Deprecated.
getInterruptResumedEx(ExceptionSupplier<T, E>) - Static method in class org.jboss.threads.JBossThread
Deprecated.
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
getKeepAliveTime(TimeUnit) - Method in class org.jboss.threads.EnhancedQueueExecutor
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
 
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
Deprecated.
This value no longer has any impact.
getQueueLimit() - Method in class org.jboss.threads.ViewExecutor.Builder
 
getQueueLimited() - Method in class org.jboss.threads.EnhancedQueueExecutor.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.
getStatus() - Method in interface org.jboss.threads.AsyncFuture
Get (poll) the current status of the asynchronous operation.
getStatus() - Method in class org.jboss.threads.AsyncFutureTask
Deprecated.
Get (poll) the current status of the asynchronous operation.
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
 
getUninterruptibly() - Method in interface org.jboss.threads.AsyncFuture
Waits (uninterruptibly) if necessary for the computation to complete, and then retrieves the result.
getUninterruptibly() - Method in class org.jboss.threads.AsyncFutureTask
Deprecated.
Waits (uninterruptibly) if necessary for the computation to complete, and then retrieves the result.
getUninterruptibly(long, TimeUnit) - Method in interface org.jboss.threads.AsyncFuture
Waits (uninterruptibly) if necessary for at most the given time for the computation to complete, and then retrieves the result, if available.
getUninterruptibly(long, TimeUnit) - Method in class org.jboss.threads.AsyncFutureTask
Deprecated.
Waits (uninterruptibly) if necessary for at most the given time for the computation to complete, and then retrieves the result, if available.
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
Deprecated.

H

handleCancelled(AsyncFuture<? extends T>, A) - Method in class org.jboss.threads.AsyncFuture.AbstractListener
Handle a cancellation result.
handleCancelled(AsyncFuture<? extends T>, A) - Method in interface org.jboss.threads.AsyncFuture.Listener
Handle a cancellation result.
handleComplete(AsyncFuture<? extends T>, A) - Method in class org.jboss.threads.AsyncFuture.AbstractListener
Handle a successful computation result.
handleComplete(AsyncFuture<? extends T>, A) - Method in interface org.jboss.threads.AsyncFuture.Listener
Handle a successful computation result.
handleFailed(AsyncFuture<? extends T>, Throwable, A) - Method in class org.jboss.threads.AsyncFuture.AbstractListener
Handle a failure result.
handleFailed(AsyncFuture<? extends T>, Throwable, A) - Method in interface org.jboss.threads.AsyncFuture.Listener
Handle a failure result.
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.
isAllowCoreThreadTimeOut() - Method in interface org.jboss.threads.management.StandardThreadPoolMXBean
Determine whether core threads are allowed to time out.
isCancelled() - Method in class org.jboss.threads.AsyncFutureTask
Deprecated.
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.
isDone() - Method in class org.jboss.threads.AsyncFutureTask
Deprecated.
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.
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.
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 JBossThread instances.
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

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 ThreadPoolExecutor which implements ManageableThreadPoolExecutorService in order to allow opting out of using EnhancedQueueExecutor.
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
 

N

newThread(Runnable) - Method in class org.jboss.threads.JBossThreadFactory
 
NONE - Static variable in interface org.jboss.threads.ContextHandler
The context handler which captures no context.
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 - module org.jboss.threads
 
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 ExecutorService instance which supports all the features of ExecutorService except for shutting down the executor.
protectedScheduledExecutorService(ScheduledExecutorService) - Static method in class org.jboss.threads.JBossExecutors
Wrap a scheduled executor with a ScheduledExecutorService instance which supports all the features of ScheduledExecutorService except 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
Deprecated.
runInterruptResumedEx(ExceptionRunnable<E>) - Static method in class org.jboss.threads.JBossThread
Deprecated.
runTermination() - Method in class org.jboss.threads.ViewExecutor
 
runWith(Runnable, T) - Method in interface org.jboss.threads.ContextHandler
Run the given task with the given captured context.
runWithInterruptHandler(InterruptHandler, ExceptionRunnable<E>) - Static method in class org.jboss.threads.JBossThread
Deprecated.

S

schedule(Runnable, long, TimeUnit) - Method in class org.jboss.threads.EnhancedQueueExecutor
 
schedule(Callable<V>, long, TimeUnit) - Method in class org.jboss.threads.EnhancedQueueExecutor
 
scheduleAtFixedRate(Runnable, long, long, TimeUnit) - Method in class org.jboss.threads.EnhancedQueueExecutor
 
scheduleWithFixedDelay(Runnable, long, long, TimeUnit) - Method in class org.jboss.threads.EnhancedQueueExecutor
 
setAllowCoreThreadTimeOut(boolean) - Method in interface org.jboss.threads.management.StandardThreadPoolMXBean
Establish whether core threads are allowed to time out.
setCancelled() - Method in class org.jboss.threads.AsyncFutureTask
Deprecated.
Set the cancelled result of this operation.
setContextHandler(ContextHandler<?>) - Method in class org.jboss.threads.EnhancedQueueExecutor.Builder
Set the context handler for the user-defined context.
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
 
setFailed(Throwable) - Method in class org.jboss.threads.AsyncFutureTask
Deprecated.
Set the failure result of this operation.
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
setKeepAliveTime(long, TimeUnit) - Method in class org.jboss.threads.EnhancedQueueExecutor
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
Deprecated.
This option no longer has any impact.
setQueueLimit(int) - Method in class org.jboss.threads.ViewExecutor.Builder
 
setQueueLimited(boolean) - Method in class org.jboss.threads.EnhancedQueueExecutor.Builder
It set to false suppress queue limit and size tracking for performance.
It has no effects if jboss.threads.eqe.unlimited-queue is set.
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
 
setResult(T) - Method in class org.jboss.threads.AsyncFutureTask
Deprecated.
Set the successful result of this operation.
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
 
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.
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 Class 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 class org.jboss.threads.StoppedExecutorException
Constructs a StoppedExecutorException with no detail message.
StoppedExecutorException(String) - Constructor for exception class org.jboss.threads.StoppedExecutorException
Constructs a StoppedExecutorException with the specified detail message.
StoppedExecutorException(String, Throwable) - Constructor for exception class org.jboss.threads.StoppedExecutorException
Constructs a StoppedExecutorException with the specified detail message and cause.
StoppedExecutorException(Throwable) - Constructor for exception class org.jboss.threads.StoppedExecutorException
Constructs a StoppedExecutorException with the specified cause.

T

terminated() - Method in class org.jboss.threads.JBossScheduledThreadPoolExecutor
 
terminated() - Method in class org.jboss.threads.ManagedThreadPoolExecutor
 

V

valueOf(String) - Static method in enum class org.jboss.threads.AsyncFuture.Status
Returns the enum constant of this class with the specified name.
values() - Static method in enum class org.jboss.threads.AsyncFuture.Status
Returns an array containing the constants of this enum class, in the order they are declared.
Version - Class in org.jboss.threads
 
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
 

W

WAITING - Enum constant in enum class org.jboss.threads.AsyncFuture.Status
The operation is still in progress.
A B C D E F G H I J L M N O P R S T V W 
All Classes and Interfaces|All Packages|Serialized Form