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)
toDeleteList
toDelete
- the to-be-deleted blockpublic void removeDeleteBlock(org.apache.hadoop.hdfs.protocol.Block block)
public void clear()
toDeleteList
Copyright © 2018 Apache Software Foundation. All Rights Reserved.