public class ReceivedDeletedBlockInfo extends Object implements org.apache.hadoop.io.Writable
Modifier and Type | Field and Description |
---|---|
static String |
TODELETE_HINT |
Constructor and Description |
---|
ReceivedDeletedBlockInfo() |
ReceivedDeletedBlockInfo(org.apache.hadoop.hdfs.protocol.Block blk,
String delHints) |
Modifier and Type | Method and Description |
---|---|
boolean |
blockEquals(org.apache.hadoop.hdfs.protocol.Block b) |
boolean |
equals(Object o) |
org.apache.hadoop.hdfs.protocol.Block |
getBlock() |
String |
getDelHints() |
int |
hashCode() |
boolean |
isDeletedBlock() |
void |
readFields(DataInput in) |
void |
setBlock(org.apache.hadoop.hdfs.protocol.Block blk) |
void |
setDelHints(String hints) |
String |
toString() |
void |
write(DataOutput out) |
public static final String TODELETE_HINT
public ReceivedDeletedBlockInfo()
public ReceivedDeletedBlockInfo(org.apache.hadoop.hdfs.protocol.Block blk, String delHints)
public org.apache.hadoop.hdfs.protocol.Block getBlock()
public void setBlock(org.apache.hadoop.hdfs.protocol.Block blk)
public String getDelHints()
public void setDelHints(String hints)
public boolean blockEquals(org.apache.hadoop.hdfs.protocol.Block b)
public boolean isDeletedBlock()
public void write(DataOutput out) throws IOException
write
in interface org.apache.hadoop.io.Writable
IOException
public void readFields(DataInput in) throws IOException
readFields
in interface org.apache.hadoop.io.Writable
IOException
Copyright © 2013 Apache Software Foundation. All Rights Reserved.