Method Summary |
|
public void | cease() Cleans up the workmanager. |
public void | finishWork() |
public int | getBusyThreads() Returns the number of wokring threads in the pool. |
public static WorkManager | getWorkManager(String name) Returns a handle to the Work Manager instance for a unique service .
Parameters: name - name of the work manager. |
public void | init() Initializes the Work Manager. |
public boolean | processCommand(Command command) Process the Command in a different thread. |
public void | setLogger(String logFile) Sets the log file. |
public void | setMaxThreads(int count) This method can be used to set the maximum threads in the Pool. |
public void | setMinThreads(int count) Sets the minimu threads in the Thread pool. |
protected void | setState(String state) Sets the state of the work manager. |
public void | start() Starts the Work Manager. |