org.apache.hadoop.hdfs.server.protocol
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.
ReceivedDeletedBlockInfo
public ReceivedDeletedBlockInfo()
ReceivedDeletedBlockInfo
public ReceivedDeletedBlockInfo(org.apache.hadoop.hdfs.protocol.Block blk,
ReceivedDeletedBlockInfo.BlockStatus status,
String delHints)
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
public ReceivedDeletedBlockInfo.BlockStatus 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
Copyright © 2013 Apache Software Foundation. All Rights Reserved.