public class MoveJob.MoveTask extends Task<MoveResponse>
Task.TaskStat
Constructor and Description |
---|
MoveTask(List<Route> routes)
Creates a new instance of
MoveJob.MoveTask . |
Modifier and Type | Method and Description |
---|---|
List<Route> |
getRoutes() |
com.google.common.util.concurrent.ListenableFuture<MoveResponse> |
run(BlockWorkerClient workerClient)
run the task.
|
compareTo, equals, execute, getJob, getMyRunningWorker, getPriority, getResponseFuture, getTaskId, getTaskStat, hashCode, setJob, setMyRunningWorker, setPriority, toString
public MoveTask(List<Route> routes)
MoveJob.MoveTask
.routes
- pair of source and destination filespublic com.google.common.util.concurrent.ListenableFuture<MoveResponse> run(BlockWorkerClient workerClient)
Task
run
in class Task<MoveResponse>
Copyright © 2023. All Rights Reserved.