public final class ChannelDeploymentDescriptor extends Object implements IOReadableWritable
| Constructor and Description |
|---|
ChannelDeploymentDescriptor()
Default constructor for serialization/deserialization.
|
ChannelDeploymentDescriptor(ChannelID outputChannelID,
ChannelID inputChannelID)
Constructs a new channel deployment descriptor.
|
| Modifier and Type | Method and Description |
|---|---|
static ChannelDeploymentDescriptor |
fromExecutionEdge(ExecutionEdge edge) |
ChannelID |
getInputChannelID()
Returns the input channel ID attached to this deployment descriptor.
|
ChannelID |
getOutputChannelID()
Returns the output channel ID attached to this deployment descriptor.
|
void |
read(DataInputView in) |
void |
write(DataOutputView out) |
public ChannelDeploymentDescriptor(ChannelID outputChannelID, ChannelID inputChannelID)
outputChannelID - The ID of the output channelinputChannelID - The ID of the input channelpublic ChannelDeploymentDescriptor()
public void write(DataOutputView out) throws IOException
write in interface IOReadableWritableIOExceptionpublic void read(DataInputView in) throws IOException
read in interface IOReadableWritableIOExceptionpublic ChannelID getOutputChannelID()
public ChannelID getInputChannelID()
public static ChannelDeploymentDescriptor fromExecutionEdge(ExecutionEdge edge)
Copyright © 2015 The Apache Software Foundation. All rights reserved.