Class ReceivedDeletedBlockInfo
java.lang.Object
org.apache.hadoop.hdfs.server.protocol.ReceivedDeletedBlockInfo
A data structure to store the blocks in an incremental block report.
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionReceivedDeletedBlockInfo(org.apache.hadoop.hdfs.protocol.Block blk, ReceivedDeletedBlockInfo.BlockStatus status, String delHints) -
Method Summary
Modifier and TypeMethodDescriptionbooleanblockEquals(org.apache.hadoop.hdfs.protocol.Block b) booleanorg.apache.hadoop.hdfs.protocol.BlockgetBlock()inthashCode()booleanvoidsetBlock(org.apache.hadoop.hdfs.protocol.Block blk) voidsetDelHints(String hints) toString()
-
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
-
setDelHints
-
getStatus
-
equals
-
hashCode
public int hashCode() -
blockEquals
public boolean blockEquals(org.apache.hadoop.hdfs.protocol.Block b) -
isDeletedBlock
public boolean isDeletedBlock() -
toString
-