public final class ManagementStage extends ManagementAttachment
ManagementGraph. The stage is derived from an execution stage
which is used in Nephele's internal scheduling structure.
This class is not thread-safe.
| Constructor and Description |
|---|
ManagementStage(ManagementGraph managementGraph,
int stageNumber)
Constructs a new management stage.
|
| Modifier and Type | Method and Description |
|---|---|
ManagementGraph |
getGraph()
Returns the management graph this management stage is part of.
|
ManagementGroupVertex |
getGroupVertex(int index)
Returns the management group vertex with the given index.
|
ManagementGroupVertex |
getInputGroupVertex(int index)
Returns the input group vertex in this stage with the given index.
|
ManagementVertex |
getInputManagementVertex(int index)
Returns the output management vertex with the given index or
null if no such vertex exists. |
int |
getNumberOfGroupVertices()
Returns the number of group vertices included in this management stage.
|
int |
getNumberOfInputGroupVertices()
Returns the number of input group vertices in this stage.
|
int |
getNumberOfInputManagementVertices()
Returns the number of input management vertices in this stage, i.e.
|
int |
getNumberOfOutputGroupVertices()
Returns the number of output group vertices in this stage.
|
int |
getNumberOfOutputManagementVertices()
Returns the number of output management vertices in this stage, i.e.
|
ManagementGroupVertex |
getOutputGroupVertex(int index)
Returns the output group vertex in this stage with the given index.
|
ManagementVertex |
getOutputManagementVertex(int index)
Returns the input management vertex with the given index or
null if no such vertex exists. |
int |
getStageNumber()
Returns this management stage's number.
|
getAttachment, setAttachmentpublic ManagementStage(ManagementGraph managementGraph, int stageNumber)
managementGraph - the management graph this management stage belongs tostageNumber - the number of the stagepublic ManagementGraph getGraph()
public int getStageNumber()
public int getNumberOfGroupVertices()
public ManagementGroupVertex getGroupVertex(int index)
index - the index of the group vertex to be returnednull if no such vertex existspublic int getNumberOfInputManagementVertices()
public int getNumberOfOutputManagementVertices()
public ManagementVertex getInputManagementVertex(int index)
null if no such vertex exists.index - the index of the vertex to be selected.null if no such vertex existspublic ManagementVertex getOutputManagementVertex(int index)
null if no such vertex exists.index - the index of the vertex to be selected.null if no such vertex existspublic int getNumberOfInputGroupVertices()
public ManagementGroupVertex getInputGroupVertex(int index)
index - the index of the input group vertex to returnnull if no such vertex existspublic int getNumberOfOutputGroupVertices()
public ManagementGroupVertex getOutputGroupVertex(int index)
index - the index of the output group vertex to returnnull if no such vertex existsCopyright © 2014 The Apache Software Foundation. All rights reserved.