A C D E G N O P R W

A

AbstractThreadPool - class org.apache.excalibur.thread.impl.AbstractThreadPool.
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.

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

DefaultThreadPool - class org.apache.avalon.excalibur.thread.impl.DefaultThreadPool.
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
 
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.DefaultThreadPool
 
decommission(Object) - Method in class org.apache.avalon.excalibur.thread.impl.ResourceLimitingThreadPool
 
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.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.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

enableLogging(Logger) - Method in class org.apache.avalon.excalibur.thread.impl.DefaultThreadPool
 
enableLogging(Logger) - Method in class org.apache.avalon.excalibur.thread.impl.ResourceLimitingThreadPool
 
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(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(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.

G

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.
getWorker() - Method in class org.apache.excalibur.thread.impl.AbstractThreadPool
Retrieve a worker thread from pool.

N

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

ResourceLimitingThreadPool - class org.apache.avalon.excalibur.thread.impl.ResourceLimitingThreadPool.
 
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.
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.excalibur.thread.impl.AbstractThreadPool
Return the WorkerThread to the pool.
run() - Method in class org.apache.excalibur.thread.impl.WorkerThread
The main execution loop.

W

WorkerThread - class org.apache.excalibur.thread.impl.WorkerThread.
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 C D E G N O P R W

Copyright © 2001-2005 The Apache Software Foundation. All Rights Reserved.