public final class ManagementEdge extends ManagementAttachment
ManagementGraph. The edge is derived from a channel of the actual
execution graph.
This class is not thread-safe.
| Constructor and Description |
|---|
ManagementEdge(ManagementEdgeID sourceEdgeID,
ManagementEdgeID targetEdgeID,
ManagementGate source,
int sourceIndex,
ManagementGate target,
int targetIndex,
ChannelType channelType)
Constructs a new edge object.
|
| Modifier and Type | Method and Description |
|---|---|
ChannelType |
getChannelType()
Returns the type of the channel this edge refers to.
|
ManagementGate |
getSource()
Returns the source of the edge referring to the output gate of an execution vertex.
|
ManagementEdgeID |
getSourceEdgeID()
Returns the source ID of the edge.
|
int |
getSourceIndex()
Returns the edge's index in the source gate.
|
ManagementGate |
getTarget()
Returns the target of the edge referring to the input gate of an execution vertex.
|
ManagementEdgeID |
getTargetEdgeID()
Returns the target ID of the edge.
|
int |
getTargetIndex()
Returns the edge's index in the target gate.
|
getAttachment, setAttachmentpublic ManagementEdge(ManagementEdgeID sourceEdgeID, ManagementEdgeID targetEdgeID, ManagementGate source, int sourceIndex, ManagementGate target, int targetIndex, ChannelType channelType)
sourceEdgeID - source ID of the management edgetargetEdgeID - target ID of the management edgesource - the source of the edge referring to the output gate of an execution vertexsourceIndex - the edge's index in the source gatetarget - the target of the edge referring to the input gate of an execution vertextargetIndex - the edge's index in the target gatechannelType - the type of the channel this edge refers tocompressionLevel - the compression level of the channel this edge refers topublic ChannelType getChannelType()
public ManagementGate getSource()
public ManagementGate getTarget()
public int getSourceIndex()
public int getTargetIndex()
public ManagementEdgeID getSourceEdgeID()
public ManagementEdgeID getTargetEdgeID()
Copyright © 2014 The Apache Software Foundation. All rights reserved.