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

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

Executable - interface org.apache.excalibur.thread.Executable.
The Executable can be implemented by components that need to perform some work.
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() - Method in interface org.apache.excalibur.thread.Executable
Execute the action associated with this component.
execute(Runnable) - Method in interface org.apache.excalibur.thread.ThreadPool
Run work in separate thread.
execute(Executable) - 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.
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.
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.excalibur.thread.ThreadControl
Call Thread.interrupt() on thread being controlled.
isFinished() - Method in interface org.apache.excalibur.thread.ThreadControl
Determine if thread has finished execution

J

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

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.

T

ThreadControl - interface org.apache.excalibur.thread.ThreadControl.
This interface defines the method through which Threads can be controller.
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.

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

Copyright © . All Rights Reserved.