- 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
-
- 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.
- 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.JBossScheduledThreadPoolExecutor
-
- getKeepAliveTime(TimeUnit) - Method in class org.jboss.threads.EnhancedQueueExecutor.Builder
-
Get the thread keep-alive time.
- getKeepAliveTime(TimeUnit) - Method in class org.jboss.threads.EnhancedQueueExecutor
-
Get the thread keep-alive time.
- 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.
- 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.
- 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.
- 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.
- 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.
- 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
-
- 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.
- isFair() - Method in interface org.jboss.threads.ExtendedLock
-
- isGrowthResistanceSupported() - Method in interface org.jboss.threads.management.StandardThreadPoolMXBean
-
Determine whether the thread pool supports a growth resistance factor.
- isHeldByCurrentThread() - Method in interface org.jboss.threads.ExtendedLock
-
- isInterrupted() - Method in class org.jboss.threads.JBossThread
-
- isLocked() - Method in interface org.jboss.threads.ExtendedLock
-
- 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.
- 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.
- 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
-
Set the thread keep-alive time.
- setKeepAliveTime(long, TimeUnit) - Method in class org.jboss.threads.EnhancedQueueExecutor
-
Set the thread keep-alive time.
- setKeepAliveTime(long, TimeUnit) - Method in class org.jboss.threads.JBossScheduledThreadPoolExecutor
-
- 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.
- setMaxThreads(int) - Method in class org.jboss.threads.JBossScheduledThreadPoolExecutor
-
- setMBeanName(String) - Method in class org.jboss.threads.EnhancedQueueExecutor.Builder
-
Set the overridden MBean name.
- 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.
- 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.
- shutdown() - Method in class org.jboss.threads.EnhancedQueueExecutor
-
Request that shutdown be initiated for this thread pool.
- shutdown(boolean) - Method in class org.jboss.threads.EnhancedQueueExecutor
-
Initiate shutdown of this thread pool.
- 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.
- 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 StoppedExecutorException with no detail message.
- StoppedExecutorException(String) - Constructor for exception org.jboss.threads.StoppedExecutorException
-
Constructs a StoppedExecutorException with the specified detail message.
- StoppedExecutorException(String, Throwable) - Constructor for exception org.jboss.threads.StoppedExecutorException
-
Constructs a StoppedExecutorException with the specified detail message and cause.
- StoppedExecutorException(Throwable) - Constructor for exception org.jboss.threads.StoppedExecutorException
-
Constructs a StoppedExecutorException with the specified cause.