org.jboss.jms.asf
Class ThreadPool

java.lang.Object
  |
  +--org.jboss.jms.asf.ThreadPool

public class ThreadPool
extends java.lang.Object

Thread pool for JMS ASF. I am sorry Richard, I really tried to use the one in jboss.web, but it did not work, and I have to say I still does not understand how it ever could work, but I guess it did for you but not for me; hope mine work better for me. Basically its a total rip of with some modifications stolen from another place - Paul Hyden's Java Thread Programming (SAMS)

Version:
$Revision: 1.3 $
Author:
Rickard Öberg (rickard.oberg@telkel.com), Peter Antman (peter.antman@tim.se)
See Also:

Constructor Summary
ThreadPool()
           
 
Method Summary
 void clear()
           
 void run(java.lang.Runnable work)
           
 void setMaximumSize(int size)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ThreadPool

public ThreadPool()
Method Detail

clear

public void clear()

setMaximumSize

public void setMaximumSize(int size)

run

public void run(java.lang.Runnable work)


Copyright © 2000 The JBoss Organization. All Rights Reserved.