sjt.mgmt
Class SimpleThreadManager

java.lang.Object
  |
  +--sjt.mgmt.SimpleThreadManager
All Implemented Interfaces:
ThreadManager

public class SimpleThreadManager
extends java.lang.Object
implements ThreadManager

ThreadManager class is in charge of construction, starting, and destroying working threads. Each working threads pulls off work from the work list.

Since:
SJT 0.1

Constructor Summary
SimpleThreadManager(java.lang.String name, WorkGroup workGroup, int size)
           
 
Method Summary
 void destroy()
          Called by code or the finalize method.
protected  void finalize()
          Performs thread cleanup.
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SimpleThreadManager

public SimpleThreadManager(java.lang.String name,
                           WorkGroup workGroup,
                           int size)
Method Detail

destroy

public void destroy()
Called by code or the finalize method.
Specified by:
destroy in interface ThreadManager

finalize

protected void finalize()
Performs thread cleanup. Called by the GC.
Overrides:
finalize in class java.lang.Object