public static class INode.BlocksMapUpdateInfo extends Object
| Constructor and Description |
|---|
BlocksMapUpdateInfo() |
| Modifier and Type | Method and Description |
|---|---|
void |
addDeleteBlock(org.apache.hadoop.hdfs.server.blockmanagement.BlockInfoContiguous toDelete)
Add a to-be-deleted block into the
toDeleteList |
void |
clear()
Clear
toDeleteList |
List<org.apache.hadoop.hdfs.protocol.Block> |
getToDeleteList() |
void |
removeDeleteBlock(org.apache.hadoop.hdfs.protocol.Block block) |
public BlocksMapUpdateInfo()
public List<org.apache.hadoop.hdfs.protocol.Block> getToDeleteList()
public void addDeleteBlock(org.apache.hadoop.hdfs.server.blockmanagement.BlockInfoContiguous toDelete)
toDeleteListtoDelete - the to-be-deleted blockpublic void removeDeleteBlock(org.apache.hadoop.hdfs.protocol.Block block)
public void clear()
toDeleteListCopyright © 2018 CERN. All Rights Reserved.