C D E G H I M O P R S T V

C

create(ThreadPoolConfig) - 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

E

equals(Object) - Method in class org.apache.sling.commons.threads.ModifiableThreadPoolConfig
 
execute(Runnable) - Method in interface org.apache.sling.commons.threads.ThreadPool
Execute a runnable

G

get(String) - Method in interface org.apache.sling.commons.threads.ThreadPoolManager
Get a 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.
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 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 class org.apache.sling.commons.threads.ModifiableThreadPoolConfig
 
getMaxPoolSize() - Method in interface org.apache.sling.commons.threads.ThreadPoolConfig
Return the maximum 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.ThreadPool
The name 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 class org.apache.sling.commons.threads.ModifiableThreadPoolConfig
 
getQueueSize() - Method in interface org.apache.sling.commons.threads.ThreadPoolConfig
Return the queue size.
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 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 class org.apache.sling.commons.threads.ModifiableThreadPoolConfig
 
isShutdownGraceful() - Method in interface org.apache.sling.commons.threads.ThreadPoolConfig
Should this pool shutdown graceful.

M

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

O

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

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_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.

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.
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.

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.

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're 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're declared.

C D E G H I M O P R S T V

Copyright © 2007-2009 The Apache Software Foundation. All Rights Reserved.