A C D E G H I M N O P R S T V
All Classes All Packages

## A

ABORT - org.apache.sling.commons.threads.ThreadPoolConfig.ThreadPoolPolicy

## C

create(ThreadPoolConfig) - Method in interface org.apache.sling.commons.threads.ThreadPoolManager
  Create a new thread pool with this configuration.
create(ThreadPoolConfig, String) - Method in interface org.apache.sling.commons.threads.ThreadPoolManager
  Create a new thread pool with this configuration.

## D

DEFAULT_THREADPOOL_NAME - Static variable in interface org.apache.sling.commons.threads.ThreadPoolManager
  The default thread pool name
DISCARD - org.apache.sling.commons.threads.ThreadPoolConfig.ThreadPoolPolicy
DISCARDOLDEST - org.apache.sling.commons.threads.ThreadPoolConfig.ThreadPoolPolicy

## E

equals(Object) - Method in class org.apache.sling.commons.threads.ModifiableThreadPoolConfig

## G

get(String) - Method in interface org.apache.sling.commons.threads.ThreadPoolManager
  Get a thread pool.
getBlockPolicy() - Method in interface org.apache.sling.commons.threads.jmx.ThreadPoolMBean
  Retrieve the block policy of the thread pool.
getBlockPolicy() - Method in class org.apache.sling.commons.threads.ModifiableThreadPoolConfig
getBlockPolicy() - Method in interface org.apache.sling.commons.threads.ThreadPoolConfig
  Return the block policy.
getConfiguration() - Method in interface org.apache.sling.commons.threads.ThreadPool
  The thread pool configuration.
getExcutorTasksInWorkQueueCount() - Method in interface org.apache.sling.commons.threads.jmx.ThreadPoolMBean
  Retrieve the number of tasks in the work queue of the pool's Executor.
getExecutorActiveCount() - Method in interface org.apache.sling.commons.threads.jmx.ThreadPoolMBean
  Retrieve the active count from the pool's Executor.
getExecutorCompletedTaskCount() - Method in interface org.apache.sling.commons.threads.jmx.ThreadPoolMBean
  Retrieve the completed task count from the pool's Executor.
getExecutorCorePoolSize() - Method in interface org.apache.sling.commons.threads.jmx.ThreadPoolMBean
  Retrieve the core pool size from the pool's Executor.
getExecutorLargestPoolSize() - Method in interface org.apache.sling.commons.threads.jmx.ThreadPoolMBean
  Retrieve the largest pool size from the pool's Executor.
getExecutorMaximumPoolSize() - Method in interface org.apache.sling.commons.threads.jmx.ThreadPoolMBean
  Retrieve the maximum pool size from the pool's Executor.
getExecutorPoolSize() - Method in interface org.apache.sling.commons.threads.jmx.ThreadPoolMBean
  Retrieve the pool size from the pool's Executor.
getExecutorTaskCount() - Method in interface org.apache.sling.commons.threads.jmx.ThreadPoolMBean
  Retrieve the task count from the pool's Executor.
getFactory() - Method in class org.apache.sling.commons.threads.ModifiableThreadPoolConfig
getFactory() - Method in interface org.apache.sling.commons.threads.ThreadPoolConfig
  Return the thread pool factory.
getKeepAliveTime() - Method in interface org.apache.sling.commons.threads.jmx.ThreadPoolMBean
  Return the configured keep alive time.
getKeepAliveTime() - Method in class org.apache.sling.commons.threads.ModifiableThreadPoolConfig
getKeepAliveTime() - Method in interface org.apache.sling.commons.threads.ThreadPoolConfig
  Return the keep alive time.
getMaxPoolSize() - Method in interface org.apache.sling.commons.threads.jmx.ThreadPoolMBean
  Return the configured maximum pool size.
getMaxPoolSize() - Method in class org.apache.sling.commons.threads.ModifiableThreadPoolConfig
getMaxPoolSize() - Method in interface org.apache.sling.commons.threads.ThreadPoolConfig
  Return the maximum pool size
getMaxThreadAge() - Method in interface org.apache.sling.commons.threads.jmx.ThreadPoolMBean
  Deprecated.
  Since version 1.1.1 always returns -1 as threads are no longer retired but instead the thread locals are cleaned up (SLING-6261)
getMaxThreadAge() - Method in class org.apache.sling.commons.threads.ModifiableThreadPoolConfig
getMaxThreadAge() - Method in interface org.apache.sling.commons.threads.ThreadPoolConfig
  Deprecated.
  Since version 3.4.0 always returns -1 as threads are no longer retired but instead the thread locals are cleaned up (SLING-6261)
getMinPoolSize() - Method in interface org.apache.sling.commons.threads.jmx.ThreadPoolMBean
  Return the minimum pool size.
getMinPoolSize() - Method in class org.apache.sling.commons.threads.ModifiableThreadPoolConfig
getMinPoolSize() - Method in interface org.apache.sling.commons.threads.ThreadPoolConfig
  Return the minimum pool size.
getName() - Method in interface org.apache.sling.commons.threads.jmx.ThreadPoolMBean
  Return the name of the thread pool
getName() - Method in interface org.apache.sling.commons.threads.ThreadPool
  The name of the thread pool.
getPid() - Method in interface org.apache.sling.commons.threads.jmx.ThreadPoolMBean
  Return the configuration pid of the thread pool.
getPriority() - Method in interface org.apache.sling.commons.threads.jmx.ThreadPoolMBean
  Return the configured priority of the thread pool.
getPriority() - Method in class org.apache.sling.commons.threads.ModifiableThreadPoolConfig
getPriority() - Method in interface org.apache.sling.commons.threads.ThreadPoolConfig
  Return the priority for the threads.
getQueueSize() - Method in interface org.apache.sling.commons.threads.jmx.ThreadPoolMBean
  Return the configured queue size.
getQueueSize() - Method in class org.apache.sling.commons.threads.ModifiableThreadPoolConfig
getQueueSize() - Method in interface org.apache.sling.commons.threads.ThreadPoolConfig
  Return the queue size.
getShutdownWaitTimeMs() - Method in interface org.apache.sling.commons.threads.jmx.ThreadPoolMBean
  Return the configured shutdown wait time in milliseconds.
getShutdownWaitTimeMs() - Method in class org.apache.sling.commons.threads.ModifiableThreadPoolConfig
getShutdownWaitTimeMs() - Method in interface org.apache.sling.commons.threads.ThreadPoolConfig
  Return the shutdown wait time in ms.

## H

hashCode() - Method in class org.apache.sling.commons.threads.ModifiableThreadPoolConfig

## I

isDaemon() - Method in interface org.apache.sling.commons.threads.jmx.ThreadPoolMBean
  Return whether or not the thread pool creates daemon threads.
isDaemon() - Method in class org.apache.sling.commons.threads.ModifiableThreadPoolConfig
isDaemon() - Method in interface org.apache.sling.commons.threads.ThreadPoolConfig
  Return if daemon threads should be created.
isShutdownGraceful() - Method in interface org.apache.sling.commons.threads.jmx.ThreadPoolMBean
  Return whether or not the thread pool is configured to shutdown gracefully.
isShutdownGraceful() - Method in class org.apache.sling.commons.threads.ModifiableThreadPoolConfig
isShutdownGraceful() - Method in interface org.apache.sling.commons.threads.ThreadPoolConfig
  Should this pool shutdown graceful.
isUsed() - Method in interface org.apache.sling.commons.threads.jmx.ThreadPoolMBean
  Return whether or not the thread pool is in use.

## M

MAX - org.apache.sling.commons.threads.ThreadPoolConfig.ThreadPriority
MIN - org.apache.sling.commons.threads.ThreadPoolConfig.ThreadPriority
ModifiableThreadPoolConfig - Class in org.apache.sling.commons.threads
  This is a modifiable thread pool configuration that can be instantiated and then configured to create a new thread pool.
ModifiableThreadPoolConfig() - Constructor for class org.apache.sling.commons.threads.ModifiableThreadPoolConfig
  Create a new default configuration.
ModifiableThreadPoolConfig(ThreadPoolConfig) - Constructor for class org.apache.sling.commons.threads.ModifiableThreadPoolConfig
  Clone an existing configuration

## N

NORM - org.apache.sling.commons.threads.ThreadPoolConfig.ThreadPriority

## O

org.apache.sling.commons.threads - package org.apache.sling.commons.threads
org.apache.sling.commons.threads.jmx - package org.apache.sling.commons.threads.jmx

## P

PROPERTY_BLOCK_POLICY - Static variable in class org.apache.sling.commons.threads.ModifiableThreadPoolConfig
  Configuration property for the block policy.
PROPERTY_DAEMON - Static variable in class org.apache.sling.commons.threads.ModifiableThreadPoolConfig
  Configuration property for the daemon flag.
PROPERTY_KEEP_ALIVE_TIME - Static variable in class org.apache.sling.commons.threads.ModifiableThreadPoolConfig
  Configuration property for the keep alive time.
PROPERTY_MAX_POOL_SIZE - Static variable in class org.apache.sling.commons.threads.ModifiableThreadPoolConfig
  Configuration property for the max pool size.
PROPERTY_MAX_THREAD_AGE - Static variable in class org.apache.sling.commons.threads.ModifiableThreadPoolConfig
  Configuration property for the max thread age.
PROPERTY_MIN_POOL_SIZE - Static variable in class org.apache.sling.commons.threads.ModifiableThreadPoolConfig
  Configuration property for the min pool size.
PROPERTY_NAME - Static variable in class org.apache.sling.commons.threads.ModifiableThreadPoolConfig
  Configuration property for the thread pool name.
PROPERTY_PRIORITY - Static variable in class org.apache.sling.commons.threads.ModifiableThreadPoolConfig
  Configuration property for the priority.
PROPERTY_QUEUE_SIZE - Static variable in class org.apache.sling.commons.threads.ModifiableThreadPoolConfig
  Configuration property for the queue size.
PROPERTY_SHUTDOWN_GRACEFUL - Static variable in class org.apache.sling.commons.threads.ModifiableThreadPoolConfig
  Configuration property for the shutdown graceful flag.
PROPERTY_SHUTDOWN_WAIT_TIME - Static variable in class org.apache.sling.commons.threads.ModifiableThreadPoolConfig
  Configuration property for the shutdown wait time.

## R

release(ThreadPool) - Method in interface org.apache.sling.commons.threads.ThreadPoolManager
  Release the thread pool again.
RUN - org.apache.sling.commons.threads.ThreadPoolConfig.ThreadPoolPolicy

## S

setBlockPolicy(ThreadPoolConfig.ThreadPoolPolicy) - Method in class org.apache.sling.commons.threads.ModifiableThreadPoolConfig
  Set the block policy.
setDaemon(boolean) - Method in class org.apache.sling.commons.threads.ModifiableThreadPoolConfig
  Set the daemon handling.
setFactory(ThreadFactory) - Method in class org.apache.sling.commons.threads.ModifiableThreadPoolConfig
  Set the thread factory.
setKeepAliveTime(long) - Method in class org.apache.sling.commons.threads.ModifiableThreadPoolConfig
  Set the keep alive time.
setMaxPoolSize(int) - Method in class org.apache.sling.commons.threads.ModifiableThreadPoolConfig
  Set the max pool size.
setMaxThreadAge(long) - Method in class org.apache.sling.commons.threads.ModifiableThreadPoolConfig
  Deprecated.
  Since version 3.4.0 should no longer be called, as threads are no longer retired but instead the thread locals are cleaned up (SLING-6261)
setMinPoolSize(int) - Method in class org.apache.sling.commons.threads.ModifiableThreadPoolConfig
  Set the min pool size.
setPriority(ThreadPoolConfig.ThreadPriority) - Method in class org.apache.sling.commons.threads.ModifiableThreadPoolConfig
  Set the thread priority.
setQueueSize(int) - Method in class org.apache.sling.commons.threads.ModifiableThreadPoolConfig
  Set the queue size.
setShutdownGraceful(boolean) - Method in class org.apache.sling.commons.threads.ModifiableThreadPoolConfig
  Set if the pool should be shutdown graceful.
setShutdownWaitTimeMs(int) - Method in class org.apache.sling.commons.threads.ModifiableThreadPoolConfig
  Set the shutdown wait time.
submit(Runnable) - Method in interface org.apache.sling.commons.threads.ThreadPool
  Submits a runnable for execution
submit(Callable<T>) - Method in interface org.apache.sling.commons.threads.ThreadPool
  Submits a callable for execution

## T

ThreadPool - Interface in org.apache.sling.commons.threads
  The thread pool interface allows to start runnables by getting threads from a managed pool.
ThreadPoolConfig - Interface in org.apache.sling.commons.threads
  The thread pool configuration.
ThreadPoolConfig.ThreadPoolPolicy - Enum in org.apache.sling.commons.threads
  The thread pool policies.
ThreadPoolConfig.ThreadPriority - Enum in org.apache.sling.commons.threads
ThreadPoolManager - Interface in org.apache.sling.commons.threads
  The `ThreadPoolManager` manages thread pools.
ThreadPoolMBean - Interface in org.apache.sling.commons.threads.jmx
  This is the management interface for a Sling Thread Pool.

## V

valueOf(String) - Static method in enum org.apache.sling.commons.threads.ThreadPoolConfig.ThreadPoolPolicy
  Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.apache.sling.commons.threads.ThreadPoolConfig.ThreadPriority
  Returns the enum constant of this type with the specified name.
values() - Static method in enum org.apache.sling.commons.threads.ThreadPoolConfig.ThreadPoolPolicy
  Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.apache.sling.commons.threads.ThreadPoolConfig.ThreadPriority
  Returns an array containing the constants of this enum type, in the order they are declared.

A C D E G H I M N O P R S T V
All Classes All Packages