org.openware.jdf.server
Class ThreadPool

java.lang.Object
  |
  +--org.openware.jdf.server.ThreadPool

public class ThreadPool
extends java.lang.Object


Constructor Summary
ThreadPool(java.util.Hashtable objectTable, int min, int max)
           
 
Method Summary
 int getActiveCount()
           
 int getMaxCount()
           
 int getMinCount()
           
 WorkerThread getPooledThread()
           
 int getPoolSize()
           
 void returnToPool(WorkerThread wt)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ThreadPool

public ThreadPool(java.util.Hashtable objectTable,
                  int min,
                  int max)
Method Detail

getPooledThread

public WorkerThread getPooledThread()

returnToPool

public void returnToPool(WorkerThread wt)

getActiveCount

public int getActiveCount()

getPoolSize

public int getPoolSize()

getMaxCount

public int getMaxCount()

getMinCount

public int getMinCount()


Copyright © 2000, 2001 Openware, Spin Software. All Rights Reserved.