public final class ExecutionPipeline extends Object
ExecutionVertex objects which must
be deployed together. An ExecutionVertex always belongs to exactly one execution pipeline.
This class is thread-safe.
| Constructor and Description |
|---|
ExecutionPipeline() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isFinishing()
Checks if the pipeline is currently finishing its execution, i.e.
|
Iterator<ExecutionVertex> |
iterator()
Returns an
Iterator to the vertices which are part of this pipeline. |
void |
setAllocatedResource(AllocatedResource resource)
Sets the given allocated resource for all vertices included in this pipeline.
|
void |
updateExecutionState(ExecutionState executionState)
Updates the execution state for all vertices included in this pipeline.
|
public Iterator<ExecutionVertex> iterator()
Iterator to the vertices which are part of this pipeline.public boolean isFinishing()
FINISHING or FINISHED state.true if the pipeline is currently finishing, false otherwisepublic void setAllocatedResource(AllocatedResource resource)
resource - the allocated resource to set for all vertices included in this pipelinepublic void updateExecutionState(ExecutionState executionState)
executionState - the execution state to set for all vertices included in this pipelineCopyright © 2014 The Apache Software Foundation. All rights reserved.