org.cafesip.jiplet
Class ThreadPool

java.lang.Object
  extended by org.cafesip.jiplet.ThreadPool

public class ThreadPool
extends java.lang.Object


Constructor Summary
ThreadPool(int permThreads, int tempThreads)
          A constructor for this class.
 
Method Summary
protected  void addToFreeQueue(TaskThread thread)
           
protected  void decrementTempThreadCount()
           
 void destroy()
           
 int getTempThreadCount()
           
 void schedule(java.lang.Runnable task)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ThreadPool

public ThreadPool(int permThreads,
                  int tempThreads)
A constructor for this class.

Method Detail

schedule

public void schedule(java.lang.Runnable task)

addToFreeQueue

protected void addToFreeQueue(TaskThread thread)

decrementTempThreadCount

protected void decrementTempThreadCount()

getTempThreadCount

public int getTempThreadCount()

destroy

public void destroy()


http://www.cafesip.org