A queue of workers waiting in front of a machine, van Gogh

IJobThread is an internal class of the job engine.
It provides information about the jobs currently working in its thread.
Jobs can also signal the end of their work here.


Returns the name of the thread.

String getName();

Returns the priority of the thread.

EThreadPriority getPriority();

Returns the maximum number of jobs working simultaneously in this thread.

int getMaxConcurrentJobs();

Returns the number of jobs currently working in this thread.

int getJobCount();

Returns the number of messages currently waiting to be processed in this thread.

int getQueueSize();

Indicate job as finished

Jobs can use this method to signal that their work has been completed. The signal is sent asynchronously via message. The job is then cleared by the job engine.

void notifyJobFinished(@NotNull IJob aJob) throws CException;

nyssr.net - Innovative Distributed System