Class SubtaskConnectionDescriptor
java.lang.Object
org.apache.flink.runtime.event.AbstractEvent
org.apache.flink.runtime.event.RuntimeEvent
org.apache.flink.runtime.io.network.api.SubtaskConnectionDescriptor
- All Implemented Interfaces:
org.apache.flink.core.io.IOReadableWritable
An event that is used to (de)multiplex old channels over the same new channel.
During unaligned checkpoint recovery, if there is a rescaling, channels from the previous run
may not be available anymore for restoring the data. In that case, the data of several old
channels is sent over the same new channel through multiplexing. Each buffer is following this
SubtaskConnectionDescriptor such that the receiver can demultiplex them.
-
Constructor Details
-
SubtaskConnectionDescriptor
public SubtaskConnectionDescriptor(int inputSubtaskIndex, int outputSubtaskIndex)
-
-
Method Details
-
write
public void write(org.apache.flink.core.memory.DataOutputView out) -
read
public void read(org.apache.flink.core.memory.DataInputView in) -
getInputSubtaskIndex
public int getInputSubtaskIndex() -
getOutputSubtaskIndex
public int getOutputSubtaskIndex() -
equals
-
hashCode
public int hashCode() -
toString
-