org.mortbay.thread
Interface ThreadPool

All Superinterfaces:
LifeCycle
All Known Implementing Classes:
BoundedThreadPool, IO

public interface ThreadPool
extends LifeCycle

ThreadPool.

Author:
gregw

Method Summary
 boolean dispatch(Runnable job)
           
 int getIdleThreads()
           
 int getThreads()
           
 void join()
           
 
Methods inherited from interface org.mortbay.component.LifeCycle
isFailed, isRunning, isStarted, isStarting, isStopping, start, stop
 

Method Detail

dispatch

boolean dispatch(Runnable job)

join

void join()
          throws InterruptedException
Throws:
InterruptedException

getThreads

int getThreads()

getIdleThreads

int getIdleThreads()