Package org.duracloud.mill.noop
Class NoopTaskProcessor
java.lang.Object
org.duracloud.mill.noop.NoopTaskProcessor
- All Implemented Interfaces:
TaskProcessor
A task processor which does nothing more than print a bit of output about
the task. This is intended to be used for testing and experimentation.
- Author:
- Bill Branan Date: 10/23/13
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidexecute()Performs the processing indicated by the task.static long
-
Constructor Details
-
NoopTaskProcessor
public NoopTaskProcessor(org.duracloud.common.queue.task.Task task)
-
-
Method Details
-
execute
Description copied from interface:TaskProcessorPerforms the processing indicated by the task. The underlying method should execute synchronously.- Specified by:
executein interfaceTaskProcessor- Throws:
TaskExecutionFailedException
-
getCompletedCount
public static long getCompletedCount()
-