public class LoadJob.LoadTask extends Task<LoadResponse>
Task.TaskStat
Constructor and Description |
---|
LoadTask(List<Block> blocks)
Creates a new instance of
LoadJob.LoadTask . |
Modifier and Type | Method and Description |
---|---|
List<Block> |
getBlocks() |
com.google.common.util.concurrent.ListenableFuture<LoadResponse> |
run(BlockWorkerClient workerClient)
run the task.
|
compareTo, equals, execute, getJob, getMyRunningWorker, getPriority, getResponseFuture, getTaskId, getTaskStat, hashCode, setJob, setMyRunningWorker, setPriority, toString
public LoadTask(List<Block> blocks)
LoadJob.LoadTask
.blocks
- blocks to loadpublic com.google.common.util.concurrent.ListenableFuture<LoadResponse> run(BlockWorkerClient workerClient)
Task
run
in class Task<LoadResponse>
Copyright © 2023. All Rights Reserved.