Modifier | Constructor and Description |
---|---|
protected |
ExecutionPhasesTask(java.util.UUID jobId,
org.elasticsearch.cluster.ClusterService clusterService,
ContextPreparer contextPreparer,
JobContextService jobContextService,
org.elasticsearch.indices.IndicesService indicesService,
TransportJobAction transportJobAction,
java.util.List<NodeOperationTree> nodeOperationTrees) |
Modifier and Type | Method and Description |
---|---|
java.util.List<? extends com.google.common.util.concurrent.ListenableFuture<TaskResult>> |
result()
Get the result of the task execution as a list of
ListenableFuture instances.
|
void |
start()
start the execution
|
void |
upstreamResult(java.util.List<? extends com.google.common.util.concurrent.ListenableFuture<TaskResult>> result)
let this class get to know the result of the former ("upstream") task
|
protected ExecutionPhasesTask(java.util.UUID jobId, org.elasticsearch.cluster.ClusterService clusterService, ContextPreparer contextPreparer, JobContextService jobContextService, org.elasticsearch.indices.IndicesService indicesService, TransportJobAction transportJobAction, java.util.List<NodeOperationTree> nodeOperationTrees)
public void start()
Task
public java.util.List<? extends com.google.common.util.concurrent.ListenableFuture<TaskResult>> result()
Task
public void upstreamResult(java.util.List<? extends com.google.common.util.concurrent.ListenableFuture<TaskResult>> result)
Task
result
- the result of the "upstream" task.