org.jacorb.util.threadpool

Class ThreadPool

public class ThreadPool extends Object

Version: $Id: ThreadPool.java,v 1.21 2006/07/12 11:34:43 alphonse.bendt Exp $

Author: Nicolas Noffke

Constructor Summary
ThreadPool(Configuration configuration, String threadNamePrefix, ConsumerFactory factory, int max_threads, int max_idle_threads)
Method Summary
protected ObjectgetJob()
voidputJob(Object job)
voidshutdown()
shutdown will shutdown the pool.

Constructor Detail

ThreadPool

public ThreadPool(Configuration configuration, String threadNamePrefix, ConsumerFactory factory, int max_threads, int max_idle_threads)

Method Detail

getJob

protected Object getJob()

putJob

public void putJob(Object job)

shutdown

public void shutdown()
shutdown will shutdown the pool.