Package org.duracloud.mill.workman
Interface TaskWorkerFactory
- All Known Implementing Classes:
TaskWorkerFactoryImpl
public interface TaskWorkerFactory
A
TaskWorker factory.- Author:
- Daniel Bernstein Date: Dec 6, 2013
-
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
-