public final class ManagementGroupEdge extends ManagementAttachment
ManagementGroupVertex objects. The edge is derived from
a group edge of the actual execution graph.
This class is not thread-safe.
| Constructor and Description |
|---|
ManagementGroupEdge(ManagementGroupVertex source,
int sourceIndex,
ManagementGroupVertex target,
int targetIndex,
ChannelType channelType)
Constructs a new management group edge.
|
| Modifier and Type | Method and Description |
|---|---|
ChannelType |
getChannelType()
Returns the type of the channels represented by this group edge.
|
ManagementGroupVertex |
getSource()
Returns the source vertex of this group edge.
|
int |
getSourceIndex()
Returns the edge's index at the source vertex.
|
ManagementGroupVertex |
getTarget()
Returns the target vertex of this group edge.
|
int |
getTargetIndex()
Returns the edge's index at the target vertex.
|
getAttachment, setAttachmentpublic ManagementGroupEdge(ManagementGroupVertex source, int sourceIndex, ManagementGroupVertex target, int targetIndex, ChannelType channelType)
source - the source vertex of the new group edgesourceIndex - the index at the source vertextarget - the target vertex of the new group edgetargetIndex - the index at the target vertexchannelType - the type of the channels represented by the new group edgecompressionLevel - the compression level of the channels represented by the new group edgepublic ChannelType getChannelType()
public ManagementGroupVertex getSource()
public ManagementGroupVertex getTarget()
public int getSourceIndex()
public int getTargetIndex()
Copyright © 2014 The Apache Software Foundation. All rights reserved.