Interface EimmerArbeiter


public interface EimmerArbeiter
Represents a worker thread for the zeitplaner. This gives information about the Thread object for the task, owner of the task and the taskId.

Workers are used to execute async tasks.

  • Method Summary

    Modifier and Type
    Method
    Description
    Returns the Zusatzmodul that owns this task.
    int
    Returns the taskId for the task being executed by this worker.
    Returns the thread for the worker.
  • Method Details

    • getTaskId

      int getTaskId()
      Returns the taskId for the task being executed by this worker.
      Returns:
      Task id number
    • getOwner

      @NotNull Zusatzmodul getOwner()
      Returns the Zusatzmodul that owns this task.
      Returns:
      The Zusatzmodul that owns the task
    • getThread

      @NotNull Thread getThread()
      Returns the thread for the worker.
      Returns:
      The Thread object for the worker