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 Details

    • RecoveryMetadata

      public RecoveryMetadata(int finalBufferSubpartitionId)
  • Method Details

    • 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
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object