Class 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 SubtaskConnectionDescriptor such that the receiver can demultiplex them.

    • Constructor Detail

      • SubtaskConnectionDescriptor

        public SubtaskConnectionDescriptor​(int inputSubtaskIndex,
                                           int outputSubtaskIndex)
    • Method Detail

      • 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()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object