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
public final class SubtaskConnectionDescriptor extends RuntimeEvent
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
SubtaskConnectionDescriptorsuch that the receiver can demultiplex them.
-
-
Constructor Summary
Constructors Constructor Description SubtaskConnectionDescriptor(int inputSubtaskIndex, int outputSubtaskIndex)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)intgetInputSubtaskIndex()intgetOutputSubtaskIndex()inthashCode()voidread(org.apache.flink.core.memory.DataInputView in)StringtoString()voidwrite(org.apache.flink.core.memory.DataOutputView out)
-