Interface TaskWorkerFactory

All Known Implementing Classes:
TaskWorkerFactoryImpl

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

    Modifier and Type
    Method
    Description
    create(org.duracloud.common.queue.task.Task task, org.duracloud.common.queue.TaskQueue taskQueue)
    Creates a task worker for the specified task.
    void
    Handles the destruction of the factory
  • Method Details

    • 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