Interface TaskWorkerFactory

  • All Known Implementing Classes:
    TaskWorkerFactoryImpl

    public interface TaskWorkerFactory
    A TaskWorker factory.
    Author:
    Daniel Bernstein Date: Dec 6, 2013
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      TaskWorker create​(org.duracloud.common.queue.task.Task task, org.duracloud.common.queue.TaskQueue taskQueue)
      Creates a task worker for the specified task.
      void destroy()
      Handles the destruction of the factory
    • Method Detail

      • create

        TaskWorker create​(org.duracloud.common.queue.task.Task task,
                          org.duracloud.common.queue.TaskQueue taskQueue)
        Creates a task worker for the specified task.
        Parameters:
        task -
        taskQueue -
        Returns:
      • destroy

        void destroy()
        Handles the destruction of the factory