Class RecoveryMetadata

  • All Implemented Interfaces:
    org.apache.flink.core.io.IOReadableWritable

    @Internal
    public class RecoveryMetadata
    extends RuntimeEvent
    RecoveryMetadata contains the metadata used during a recovery process.
    • Constructor Detail

      • RecoveryMetadata

        public RecoveryMetadata​(int finalBufferSubpartitionId)
    • Method Detail

      • getFinalBufferSubpartitionId

        public int getFinalBufferSubpartitionId()
        Returns:
        the index of the subpartition where the last buffer stored in a snapshot locates.
      • write

        public void write​(org.apache.flink.core.memory.DataOutputView out)
                   throws IOException
        Throws:
        IOException
      • read

        public void read​(org.apache.flink.core.memory.DataInputView in)
                  throws IOException
        Throws:
        IOException
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object