nyla.solutions.global.patterns.workthread.Supervisor Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of nyla.solutions.global Show documentation
Show all versions of nyla.solutions.global Show documentation
Nyla Solutions Global Java API provides support for basic application
utilities (application configuration, data encryption, debugger and text
processing).
The newest version!
package nyla.solutions.global.patterns.workthread;
import java.util.*;
/**
*
*
* Supervisor manages a list of workers
*
* @author Gregory Green
* @version 1.0
*/
public interface Supervisor extends SupervisedWorker
{
/**
* Add worker to the manage's supervisor
* @param worker the worker thread
*/
public void manage(SupervisedWorker worker);
public Collection getWorkers();
public WorkQueue getWorkQueue();
}