A B C D E F G I J M N O P R S W

A

AbstractThreadPool - Class in org.apache.excalibur.thread.impl
This is the base class of all ThreadPools.
AbstractThreadPool(String, ThreadGroup) - Constructor for class org.apache.excalibur.thread.impl.AbstractThreadPool
Create a ThreadPool with the specified name.

B

BasicThreadPool - Class in org.apache.avalon.excalibur.thread.impl
The ThreadPool that binds to Legacy Pooling implementation.
BasicThreadPool(ThreadGroup, String, Pool) - Constructor for class org.apache.avalon.excalibur.thread.impl.BasicThreadPool
Create a new ThreadPool with specified capacity.

C

clearInterruptFlag() - Method in class org.apache.excalibur.thread.impl.WorkerThread
Clears the interrupt flag for this thread.
createWorker() - Method in class org.apache.excalibur.thread.impl.AbstractThreadPool
Create a WorkerThread and start it up.

D

debug(String) - Method in class org.apache.avalon.excalibur.thread.impl.SimpleWorkerThread
Used to log major events against the worker.
debug(String, Throwable) - Method in class org.apache.avalon.excalibur.thread.impl.SimpleWorkerThread
Used to log major events against the worker.
debug(String) - Method in class org.apache.excalibur.thread.impl.WorkerThread
Used to log major events against the worker.
debug(String, Throwable) - Method in class org.apache.excalibur.thread.impl.WorkerThread
Used to log major events against the worker.
decommission(Object) - Method in class org.apache.avalon.excalibur.thread.impl.BasicThreadPool
 
decommission(Object) - Method in class org.apache.avalon.excalibur.thread.impl.DefaultThreadPool
 
decommission(Object) - Method in class org.apache.avalon.excalibur.thread.impl.ResourceLimitingThreadPool
 
DefaultThreadControl - Class in org.apache.excalibur.thread.impl
Default implementation of ThreadControl interface.
DefaultThreadControl(Thread) - Constructor for class org.apache.excalibur.thread.impl.DefaultThreadControl
Construct thread control for a specific thread.
DefaultThreadPool - Class in org.apache.avalon.excalibur.thread.impl
This class is the public frontend for the thread pool code.
DefaultThreadPool(int) - Constructor for class org.apache.avalon.excalibur.thread.impl.DefaultThreadPool
 
DefaultThreadPool(String, int) - Constructor for class org.apache.avalon.excalibur.thread.impl.DefaultThreadPool
 
DefaultThreadPool(String, int, int) - Constructor for class org.apache.avalon.excalibur.thread.impl.DefaultThreadPool
 
destroyWorker(WorkerThread) - Method in class org.apache.excalibur.thread.impl.AbstractThreadPool
Destroy a worker thread by scheduling it for shutdown.
detailDebug(String) - Method in class org.apache.avalon.excalibur.thread.impl.SimpleWorkerThread
Used to log minor events against the worker.
detailDebug(String, Throwable) - Method in class org.apache.avalon.excalibur.thread.impl.SimpleWorkerThread
Used to log minor events against the worker.
detailDebug(String) - Method in class org.apache.excalibur.thread.impl.WorkerThread
Used to log minor events against the worker.
detailDebug(String, Throwable) - Method in class org.apache.excalibur.thread.impl.WorkerThread
Used to log minor events against the worker.
dispose() - Method in class org.apache.avalon.excalibur.thread.impl.BasicThreadPool
Dispose of underlying pool and cleanup resources.
dispose() - Method in class org.apache.avalon.excalibur.thread.impl.DefaultThreadPool
 
dispose() - Method in class org.apache.avalon.excalibur.thread.impl.ResourceLimitingThreadPool
 
dispose() - Method in class org.apache.excalibur.thread.impl.WorkerThread
Set the alive variable to false causing the worker to die.

E

ENABLE_DEBUG - Static variable in class org.apache.excalibur.thread.impl.WorkerThread
Enables debug output of major events.
ENABLE_DETAIL_DEBUG - Static variable in class org.apache.excalibur.thread.impl.WorkerThread
Enables debug output of minor events.
enableLogging(Logger) - Method in class org.apache.avalon.excalibur.thread.impl.BasicThreadPool
Setup Logging.
enableLogging(Logger) - Method in class org.apache.avalon.excalibur.thread.impl.DefaultThreadPool
 
enableLogging(Logger) - Method in class org.apache.avalon.excalibur.thread.impl.ResourceLimitingThreadPool
 
enableLogging(Logger) - Method in class org.apache.avalon.excalibur.thread.impl.SimpleWorkerThread
 
ExecutableExecuteable - Class in org.apache.avalon.excalibur.thread.impl
Class to adapt a Executable object in an Executable object.
ExecutableExecuteable(Executable) - Constructor for class org.apache.avalon.excalibur.thread.impl.ExecutableExecuteable
Create adapter using specified executable.
ExecutableRunnable - Class in org.apache.excalibur.thread.impl
Class to adapt a Runnable object in an Executable object.
ExecutableRunnable(Runnable) - Constructor for class org.apache.excalibur.thread.impl.ExecutableRunnable
Create adapter using specified runnable.
execute(Executable) - Method in class org.apache.avalon.excalibur.thread.impl.BasicThreadPool
Run work in separate thread.
execute(Executable) - Method in class org.apache.avalon.excalibur.thread.impl.DefaultThreadPool
Run work in separate thread.
execute(Runnable) - Method in class org.apache.avalon.excalibur.thread.impl.DefaultThreadPool
Run work in separate thread.
execute(Executable) - Method in class org.apache.avalon.excalibur.thread.impl.DefaultThreadPool
Run work in separate thread.
execute() - Method in class org.apache.avalon.excalibur.thread.impl.ExecutableExecuteable
Execute the underlying Executable object.
execute(Executable) - Method in class org.apache.avalon.excalibur.thread.impl.ResourceLimitingThreadPool
Run work in separate thread.
execute(Runnable) - Method in class org.apache.avalon.excalibur.thread.impl.ResourceLimitingThreadPool
Run work in separate thread.
execute(Executable) - Method in class org.apache.avalon.excalibur.thread.impl.ResourceLimitingThreadPool
Run work in separate thread.
execute(Runnable) - Method in class org.apache.excalibur.thread.impl.AbstractThreadPool
Run work in separate thread.
execute(Executable) - Method in class org.apache.excalibur.thread.impl.AbstractThreadPool
Execute some executable work in a thread.
execute() - Method in class org.apache.excalibur.thread.impl.ExecutableRunnable
Execute the underlying Runnable object.
execute(Executable) - Method in class org.apache.excalibur.thread.impl.WorkerThread
Set the Work code this Worker must execute and notifies its thread to do it.
executeAndWait(Executable) - Method in class org.apache.excalibur.thread.impl.WorkerThread
Set the Work code this Worker must execute and notifies its thread to do it.

F

finish(Throwable) - Method in class org.apache.excalibur.thread.impl.DefaultThreadControl
Method called by thread to release control.

G

getCreatedClass() - Method in class org.apache.avalon.excalibur.thread.impl.BasicThreadPool
Return the class of poolable instance.
getCreatedClass() - Method in class org.apache.avalon.excalibur.thread.impl.DefaultThreadPool
 
getCreatedClass() - Method in class org.apache.avalon.excalibur.thread.impl.ResourceLimitingThreadPool
 
getName() - Method in class org.apache.excalibur.thread.impl.AbstractThreadPool
Get the name used for thread pool.
getSize() - Method in class org.apache.avalon.excalibur.thread.impl.ResourceLimitingThreadPool
Return the number of worker threads in the pool.
getThreadGroup() - Method in class org.apache.excalibur.thread.impl.AbstractThreadPool
Return the thread group that thread pool is associated with.
getThrowable() - Method in class org.apache.excalibur.thread.impl.DefaultThreadControl
Retrieve throwable that caused thread to cease execution.
getWorker() - Method in class org.apache.avalon.excalibur.thread.impl.BasicThreadPool
Retrieve a worker thread from pool.
getWorker() - Method in class org.apache.excalibur.thread.impl.AbstractThreadPool
Retrieve a worker thread from pool.

I

interrupt() - Method in class org.apache.excalibur.thread.impl.DefaultThreadControl
Call Thread.interrupt() on thread being controlled.
interupt() - Method in class org.apache.excalibur.thread.impl.DefaultThreadControl
 
isFinished() - Method in class org.apache.excalibur.thread.impl.DefaultThreadControl
Determine if thread has finished execution

J

join(long) - Method in class org.apache.excalibur.thread.impl.DefaultThreadControl
Wait for specified time for thread to complete it's work.

M

m_alive - Variable in class org.apache.excalibur.thread.impl.WorkerThread
True if this thread is alive and not scheduled for shutdown.
m_clearInterruptFlag - Variable in class org.apache.excalibur.thread.impl.WorkerThread
True if this thread needs to clear the interrupt flag
m_detailLogger - Variable in class org.apache.avalon.excalibur.thread.impl.SimpleWorkerThread
Log minor detail events like
m_executable - Variable in class org.apache.avalon.excalibur.thread.impl.ExecutableExecuteable
 
m_level - Variable in class org.apache.excalibur.thread.impl.AbstractThreadPool
A Running number that indicates the number of threads created by pool.
m_logger - Variable in class org.apache.avalon.excalibur.thread.impl.BasicThreadPool
The logger to use for debugging purposes.
m_logger - Variable in class org.apache.avalon.excalibur.thread.impl.SimpleWorkerThread
Log major events like uncaught exceptions and worker creation and deletion.
m_name - Variable in class org.apache.excalibur.thread.impl.AbstractThreadPool
The name of the thread pool.
m_pool - Variable in class org.apache.avalon.excalibur.thread.impl.BasicThreadPool
The underlying pool.
m_pool - Variable in class org.apache.avalon.excalibur.thread.impl.DefaultThreadPool
 
m_pool - Variable in class org.apache.avalon.excalibur.thread.impl.ResourceLimitingThreadPool
The associated thread pool.
m_pool - Variable in class org.apache.excalibur.thread.impl.WorkerThread
The thread pool this thread is associated with.
m_runnable - Variable in class org.apache.excalibur.thread.impl.ExecutableRunnable
 
m_thread - Variable in class org.apache.excalibur.thread.impl.DefaultThreadControl
 
m_threadControl - Variable in class org.apache.excalibur.thread.impl.WorkerThread
The thread control associated with current work.
m_threadGroup - Variable in class org.apache.excalibur.thread.impl.AbstractThreadPool
The thread group associated with pool.
m_throwable - Variable in class org.apache.excalibur.thread.impl.DefaultThreadControl
 
m_underlyingPool - Variable in class org.apache.avalon.excalibur.thread.impl.DefaultThreadPool
 
m_underlyingPool - Variable in class org.apache.avalon.excalibur.thread.impl.ResourceLimitingThreadPool
 
m_work - Variable in class org.apache.excalibur.thread.impl.WorkerThread
The work currentlyy associated with worker (May be null).

N

newInstance() - Method in class org.apache.avalon.excalibur.thread.impl.BasicThreadPool
Create new Poolable instance.
newInstance() - Method in class org.apache.avalon.excalibur.thread.impl.DefaultThreadPool
 
newInstance() - Method in class org.apache.avalon.excalibur.thread.impl.ResourceLimitingThreadPool
 
newWorkerThread(String) - Method in class org.apache.avalon.excalibur.thread.impl.BasicThreadPool
Overide newWorkerThread to provide a WorkerThread that is Poolable and LogEnabled.
newWorkerThread(String) - Method in class org.apache.excalibur.thread.impl.AbstractThreadPool
Create a new worker for pool.

O

org.apache.avalon.excalibur.thread.impl - package org.apache.avalon.excalibur.thread.impl
 
org.apache.excalibur.thread.impl - package org.apache.excalibur.thread.impl
 

P

postExecute() - Method in class org.apache.excalibur.thread.impl.WorkerThread
Overide this method to execute something after each bit of "work".
preExecute() - Method in class org.apache.excalibur.thread.impl.WorkerThread
Overide this method to execute something before each bit of "work".

R

recycleThread() - Method in class org.apache.excalibur.thread.impl.WorkerThread
Implement this method to replace thread back into pool.
releaseWorker(WorkerThread) - Method in class org.apache.avalon.excalibur.thread.impl.BasicThreadPool
Release worker back into pool.
releaseWorker(WorkerThread) - Method in class org.apache.excalibur.thread.impl.AbstractThreadPool
Return the WorkerThread to the pool.
ResourceLimitingThreadPool - Class in org.apache.avalon.excalibur.thread.impl
 
ResourceLimitingThreadPool(int) - Constructor for class org.apache.avalon.excalibur.thread.impl.ResourceLimitingThreadPool
Creates a new ResourceLimitingThreadPool.
ResourceLimitingThreadPool(String, int) - Constructor for class org.apache.avalon.excalibur.thread.impl.ResourceLimitingThreadPool
Creates a new ResourceLimitingThreadPool with maxStrict enabled, blocking enabled, no block timeout and a trim interval of 10 seconds.
ResourceLimitingThreadPool(String, int, boolean, boolean, long, long) - Constructor for class org.apache.avalon.excalibur.thread.impl.ResourceLimitingThreadPool
Creates a new ResourceLimitingThreadPool.
run() - Method in class org.apache.excalibur.thread.impl.WorkerThread
The main execution loop.

S

SimpleWorkerThread - Class in org.apache.avalon.excalibur.thread.impl
This class extends the Thread class to add recyclable functionalities.
SimpleWorkerThread(AbstractThreadPool, ThreadGroup, String) - Constructor for class org.apache.avalon.excalibur.thread.impl.SimpleWorkerThread
Allocates a new Worker object.

W

waitForWork() - Method in class org.apache.excalibur.thread.impl.WorkerThread
For for new work to arrive or for the thread to be destroyed.
WorkerThread - Class in org.apache.excalibur.thread.impl
This class extends the Thread class to add recyclable functionalities.
WorkerThread(AbstractThreadPool, ThreadGroup, String) - Constructor for class org.apache.excalibur.thread.impl.WorkerThread
Allocates a new Worker object.

A B C D E F G I J M N O P R S W