All Downloads are FREE. Search and download functionalities are using the official Maven repository.

nyla.solutions.global.patterns.workthread.SupervisedWorker Maven / Gradle / Ivy

Go to download

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;

/**
 * 
 * 
 * Worker interface for an object managed by the supervisor thread.
 * 
 * 
* @author Gregory Green * @version 1.0 */ public interface SupervisedWorker extends Worker { /** * * @return the worker's thread */ public Thread getThread(); /** * * @param workState work state */ public void setWorkState(WorkState workState); /** * * @return the work state */ public WorkState getWorkState(); /** * * @return the supervisor of the worker */ public Supervisor getSupervisor(); /** * * @param supervisor the supervisor */ public void setSupervisor(Supervisor supervisor); }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy