Package org.duracloud.mill.workman
Class TaskProcessorBase
java.lang.Object
org.duracloud.mill.workman.TaskProcessorBase
- All Implemented Interfaces:
TaskProcessor
- Direct Known Subclasses:
AuditLogWritingProcessor,BitIntegrityCheckTaskProcessor,BitIntegrityReportTaskProcessor,DuplicationTaskProcessor,ManifestWritingProcessor,StorageStatsTaskProcessor
- Author:
- Daniel Bernstein Date: Feb 20, 2015
-
Constructor Summary
ConstructorsConstructorDescriptionTaskProcessorBase(org.duracloud.common.queue.task.SpaceCentricTypedTask task) -
Method Summary
-
Constructor Details
-
TaskProcessorBase
public TaskProcessorBase(org.duracloud.common.queue.task.SpaceCentricTypedTask 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
-
getTask
protected org.duracloud.common.queue.task.SpaceCentricTypedTask getTask()- Returns:
- the task
-
executeImpl
- Throws:
TaskExecutionFailedException
-