public class ExecutionGroupEdge extends Object
This class is thread-safe.
| Constructor and Description |
|---|
ExecutionGroupEdge(ExecutionGroupVertex sourceVertex,
int indexOfOutputGate,
ExecutionGroupVertex targetVertex,
int indexOfInputGate,
ChannelType channelType,
boolean userDefinedChannelType,
DistributionPattern distributionPattern)
Constructs a new group edge.
|
| Modifier and Type | Method and Description |
|---|---|
ChannelType |
getChannelType()
Returns the channel type assigned to this edge.
|
int |
getConnectionID()
Returns the edge's connection ID.
|
DistributionPattern |
getDistributionPattern()
Returns the distribution pattern to create the wiring between the group members.
|
int |
getIndexOfInputGate()
Returns the index of the input gate this edge starts from.
|
int |
getIndexOfOutputGate()
Returns the index of the output gate this edge arrives at.
|
ExecutionGroupVertex |
getSourceVertex()
Returns the source vertex this edge starts from.
|
ExecutionGroupVertex |
getTargetVertex()
Returns the group vertex connected to this edge.
|
boolean |
isChannelTypeUserDefined()
Returns if the edge's channel type is user defined.
|
public ExecutionGroupEdge(ExecutionGroupVertex sourceVertex, int indexOfOutputGate, ExecutionGroupVertex targetVertex, int indexOfInputGate, ChannelType channelType, boolean userDefinedChannelType, DistributionPattern distributionPattern)
sourceVertex - the source vertex this edge originates fromindexOfOutputGate - the index of the source vertex's output gate this edge originates fromtargetVertex - the group vertex to be connectedindexOfInputGate - the index of the consuming task's input gatechannelType - the channel type for the edgeuserDefinedChannelType - true if the channel type has been specified by the user, false otherwisedistributionPattern - the distribution pattern to create the wiringpublic ChannelType getChannelType()
public ExecutionGroupVertex getTargetVertex()
public int getConnectionID()
public boolean isChannelTypeUserDefined()
true if the channel type is user defined, false otherwisepublic int getIndexOfInputGate()
public ExecutionGroupVertex getSourceVertex()
public int getIndexOfOutputGate()
public DistributionPattern getDistributionPattern()
Copyright © 2014 The Apache Software Foundation. All rights reserved.