A C D E G I J N O P R S T 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

debug(String) - Method in class org.apache.excalibur.thread.impl.WorkerThread
Write a debug message.
debug(String, Throwable) - Method in class org.apache.excalibur.thread.impl.WorkerThread
Write a debug message.
decommission(Object) - Method in class org.apache.avalon.excalibur.thread.impl.ResourceLimitingThreadPool
 
decommission(Object) - Method in class org.apache.avalon.excalibur.thread.impl.DefaultThreadPool
 
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
 
destroyWorker(WorkerThread) - Method in class org.apache.excalibur.thread.impl.AbstractThreadPool
Destroy a worker thread by scheduling it for shutdown.
dispose() - Method in class org.apache.avalon.excalibur.thread.impl.ResourceLimitingThreadPool
 
dispose() - Method in class org.apache.avalon.excalibur.thread.impl.DefaultThreadPool
 
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.ResourceLimitingThreadPool
 
enableLogging(Logger) - Method in class org.apache.avalon.excalibur.thread.impl.DefaultThreadPool
 
Executable - interface org.apache.excalibur.thread.Executable.
The Executable can be implemented by components that need to perform some work.
execute() - Method in interface org.apache.excalibur.thread.Executable
Execute the action associated with this component.
execute(Executable) - Method in interface org.apache.avalon.excalibur.thread.ThreadPool
Deprecated. Run work in separate thread.
execute(Executable) - 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(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.DefaultThreadPool
Run work in separate thread.
execute(Executable) - Method in interface org.apache.excalibur.thread.ThreadPool
Run work in separate 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.
execute(Executable) - Method in class org.apache.excalibur.thread.impl.AbstractThreadPool
Execute some executable work in a thread.
execute(Runnable) - 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.DefaultThreadPool
Run work in separate thread.
execute(Runnable) - Method in interface org.apache.excalibur.thread.ThreadPool
Run work in separate thread.
execute(Runnable) - Method in class org.apache.excalibur.thread.impl.AbstractThreadPool
Run work in separate thread.
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

getChildInstrumentables() - Method in class org.apache.avalon.excalibur.thread.impl.ResourceLimitingThreadPool
Any Object which implements Instrumentable can also make use of other Instrumentable child objects.
getCreatedClass() - Method in class org.apache.avalon.excalibur.thread.impl.ResourceLimitingThreadPool
 
getCreatedClass() - Method in class org.apache.avalon.excalibur.thread.impl.DefaultThreadPool
 
getInstrumentableName() - Method in class org.apache.avalon.excalibur.thread.impl.ResourceLimitingThreadPool
Gets the name of the Instrumentable.
getInstruments() - Method in class org.apache.avalon.excalibur.thread.impl.ResourceLimitingThreadPool
Obtain a reference to all the Instruments that the Instrumentable object wishes to expose.
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 interface org.apache.avalon.excalibur.thread.ThreadControl
Deprecated. Retrieve throwable that caused thread to cease execution.
getThrowable() - Method in class org.apache.avalon.excalibur.thread.impl.WrappedThreadControl
 
getThrowable() - Method in interface org.apache.excalibur.thread.ThreadControl
Retrieve throwable that caused thread to cease execution.
getWorker() - Method in class org.apache.excalibur.thread.impl.AbstractThreadPool
Retrieve a worker thread from pool.

I

interrupt() - Method in interface org.apache.avalon.excalibur.thread.ThreadControl
Deprecated. Call Thread.interrupt() on thread being controlled.
interrupt() - Method in class org.apache.avalon.excalibur.thread.impl.WrappedThreadControl
 
interrupt() - Method in interface org.apache.excalibur.thread.ThreadControl
Call Thread.interrupt() on thread being controlled.
isFinished() - Method in interface org.apache.avalon.excalibur.thread.ThreadControl
Deprecated. Determine if thread has finished execution
isFinished() - Method in class org.apache.avalon.excalibur.thread.impl.WrappedThreadControl
 
isFinished() - Method in interface org.apache.excalibur.thread.ThreadControl
Determine if thread has finished execution

J

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

N

newInstance() - Method in class org.apache.avalon.excalibur.thread.impl.ResourceLimitingThreadPool
 
newInstance() - Method in class org.apache.avalon.excalibur.thread.impl.DefaultThreadPool
 
newWorkerThread(String) - Method in class org.apache.excalibur.thread.impl.AbstractThreadPool
Create a new worker for pool.

O

org.apache.avalon.excalibur.thread - package org.apache.avalon.excalibur.thread
 
org.apache.avalon.excalibur.thread.impl - package org.apache.avalon.excalibur.thread.impl
 
org.apache.excalibur.thread - package org.apache.excalibur.thread
 
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.excalibur.thread.impl.AbstractThreadPool
Return the WorkerThread to the pool.
ResourceLimitingThreadPool - class org.apache.avalon.excalibur.thread.impl.ResourceLimitingThreadPool.
A Thread Pool which can be configured to have a hard limit on the maximum number of threads which will be allocated.
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

setInstrumentableName(String) - Method in class org.apache.avalon.excalibur.thread.impl.ResourceLimitingThreadPool
Sets the name for the Instrumentable.
setLogger(Logger) - Method in class org.apache.avalon.excalibur.thread.impl.DefaultThreadPool
 

T

ThreadControl - interface org.apache.avalon.excalibur.thread.ThreadControl.
Deprecated. Replaced with org.apache.excalibur.thread.ThreadControl
ThreadControl - interface org.apache.excalibur.thread.ThreadControl.
This interface defines the method through which Threads can be controller.
ThreadPool - interface org.apache.avalon.excalibur.thread.ThreadPool.
Deprecated. Replaced with org.apache.excalibur.thread.ThreadPool
ThreadPool - interface org.apache.excalibur.thread.ThreadPool.
This class is the public frontend for the thread pool code.

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.
WrappedThreadControl - class org.apache.avalon.excalibur.thread.impl.WrappedThreadControl.
 
WrappedThreadControl(ThreadControl) - Constructor for class org.apache.avalon.excalibur.thread.impl.WrappedThreadControl
 

A C D E G I J N O P R S T W

Copyright © 2000-2003 Apache Jakarta Project. All Rights Reserved.