seda.sandStorm.internal
Class ThreadPoolController
java.lang.Object
seda.sandStorm.internal.ThreadPoolController
public class ThreadPoolController
- extends java.lang.Object
The ThreadPoolController is responsible for dynamically adusting the
size of a given ThreadPool.
- Author:
- Matt Welsh
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ThreadPoolController
public ThreadPoolController(ManagerIF mgr)
ThreadPoolController
public ThreadPoolController(ManagerIF mgr,
int delay,
int threshold)
register
public void register(StageWrapperIF stage,
ThreadPool tp)
- Register a thread pool with this controller, using the queue threshold
specified by the system configuration.
register
public void register(StageWrapperIF stage,
ThreadPool tp,
ProfilableIF metric)
- Register a thread pool with this controller, using the queue threshold
specified by the system configuration.