Class ReceivedDeletedBlockInfo

java.lang.Object
org.apache.hadoop.hdfs.server.protocol.ReceivedDeletedBlockInfo

public class ReceivedDeletedBlockInfo extends Object
A data structure to store the blocks in an incremental block report.
  • Constructor Details

    • ReceivedDeletedBlockInfo

      public ReceivedDeletedBlockInfo()
    • ReceivedDeletedBlockInfo

      public ReceivedDeletedBlockInfo(org.apache.hadoop.hdfs.protocol.Block blk, ReceivedDeletedBlockInfo.BlockStatus status, String delHints)
  • Method Details

    • getBlock

      public org.apache.hadoop.hdfs.protocol.Block getBlock()
    • setBlock

      public void setBlock(org.apache.hadoop.hdfs.protocol.Block blk)
    • getDelHints

      public String getDelHints()
    • setDelHints

      public void setDelHints(String hints)
    • getStatus

    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • blockEquals

      public boolean blockEquals(org.apache.hadoop.hdfs.protocol.Block b)
    • isDeletedBlock

      public boolean isDeletedBlock()
    • toString

      public String toString()
      Overrides:
      toString in class Object