public class LoadJob.LoadTask extends Task<LoadResponse>
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.
|
execute, getResponseFuture
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.