Interface IWorker<T>

    • Method Detail

      • getTasks

        java.util.List<T> getTasks()
        Returns:
        list of tasks this worker is working on.
      • getTimeOut

        long getTimeOut()
        Returns:
        the maximum time allowed for the worker to complete the task.
      • getPriority

        int getPriority()
        Returns:
        the priority of this task.