public class MoveTask extends AbstractFixedIntervalTask
Constructor and Description |
---|
MoveTask(String id,
String dataSource,
org.joda.time.Interval interval,
Map<String,Object> targetLoadSpec) |
Modifier and Type | Method and Description |
---|---|
Map<String,Object> |
getTargetLoadSpec() |
String |
getType()
Returns a descriptive label for this task type.
|
TaskStatus |
run(TaskToolbox toolbox)
Execute a task.
|
getInterval, isReady
equals, getClasspathPrefix, getDataSource, getGroupId, getId, getNodeType, getQueryRunner, getTaskLocks, getTaskResource, hashCode, joinId, makeId, success, toString
public String getType()
Task
public TaskStatus run(TaskToolbox toolbox) throws Exception
Task
toolbox
- Toolbox for this taskException
- if this task failedCopyright © 2011–2015. All rights reserved.