A C D G H I M N O R S T

A

add(Object) - Method in class org.apache.commons.threadpool.MTQueue
adds a new object to the end of the queue.

C

CommonsLoggingThreadPoolMonitor - Class in org.apache.commons.threadpool
 
CommonsLoggingThreadPoolMonitor() - Constructor for class org.apache.commons.threadpool.CommonsLoggingThreadPoolMonitor
 

D

DefaultThreadPool - Class in org.apache.commons.threadpool
A default implementation of a ThreadPool which is constructed with a given number of threads.
DefaultThreadPool(ThreadPoolMonitor, int, int) - Constructor for class org.apache.commons.threadpool.DefaultThreadPool
 
DefaultThreadPool(ThreadPoolMonitor, int) - Constructor for class org.apache.commons.threadpool.DefaultThreadPool
 
DefaultThreadPool() - Constructor for class org.apache.commons.threadpool.DefaultThreadPool
 
DefaultThreadPool(int) - Constructor for class org.apache.commons.threadpool.DefaultThreadPool
 
DefaultThreadPool(int, int) - Constructor for class org.apache.commons.threadpool.DefaultThreadPool
 

G

getRunnableCount() - Method in class org.apache.commons.threadpool.DefaultThreadPool
Returns number of runnable object in the queue.

H

handleThrowable(Class, Runnable, Throwable) - Method in class org.apache.commons.threadpool.CommonsLoggingThreadPoolMonitor
 
handleThrowable(Class, Runnable, Throwable) - Method in class org.apache.commons.threadpool.NullThreadPoolMonitor
 
handleThrowable(Class, Runnable, Throwable) - Method in interface org.apache.commons.threadpool.ThreadPoolMonitor
 

I

invokeLater(Runnable) - Method in class org.apache.commons.threadpool.DefaultThreadPool
Dispatch a new task onto this pool to be invoked asynchronously later
invokeLater(Runnable) - Method in interface org.apache.commons.threadpool.ThreadPool
Dispatch a new task onto this pool to be invoked asynchronously later.

M

MTQueue - Class in org.apache.commons.threadpool
A multithreaded blocking queue which is very useful for implementing producer-consumer style threading patterns.
MTQueue() - Constructor for class org.apache.commons.threadpool.MTQueue
 

N

NullThreadPoolMonitor - Class in org.apache.commons.threadpool
NullObject pattern impl of ThreadPoolMonitor
NullThreadPoolMonitor() - Constructor for class org.apache.commons.threadpool.NullThreadPoolMonitor
 

O

org.apache.commons.threadpool - package org.apache.commons.threadpool
The Core API of Commons ThreadPool which revolves around a simple ThreadPool interface.

R

remove() - Method in class org.apache.commons.threadpool.MTQueue
Removes the first object from the queue, blocking until one is available.
remove(long) - Method in class org.apache.commons.threadpool.MTQueue
Removes the first object from the queue, blocking only up to the given timeout time.
removeNoWait() - Method in class org.apache.commons.threadpool.MTQueue
Removes the first object from the queue without blocking.
run() - Method in class org.apache.commons.threadpool.DefaultThreadPool
The method ran by the pool of background threads

S

setThreadGroup(ThreadGroup) - Method in class org.apache.commons.threadpool.DefaultThreadPool
 
size() - Method in class org.apache.commons.threadpool.MTQueue
Returns the current number of object in the queue
startThread() - Method in class org.apache.commons.threadpool.DefaultThreadPool
Start a new thread running
startThread(int) - Method in class org.apache.commons.threadpool.DefaultThreadPool
 
stop() - Method in class org.apache.commons.threadpool.DefaultThreadPool
 

T

ThreadPool - Interface in org.apache.commons.threadpool
An interface representing some kind of thread pool which allows asynchronous dispatching of Runnable tasks.
ThreadPoolMonitor - Interface in org.apache.commons.threadpool
The idea is that the end-user can write a implementation of this class that allows them have a deterministic for the events that are monitored for.

A C D G H I M N O R S T

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