public static class INode.BlocksMapUpdateInfo extends Object
Constructor and Description |
---|
INode.BlocksMapUpdateInfo() |
Modifier and Type | Method and Description |
---|---|
void |
addDeleteBlock(org.apache.hadoop.hdfs.protocol.Block toDelete)
Add a to-be-deleted block into the
toDeleteList |
void |
clear()
Clear
toDeleteList |
List<org.apache.hadoop.hdfs.protocol.Block> |
getToDeleteList() |
public INode.BlocksMapUpdateInfo()
public List<org.apache.hadoop.hdfs.protocol.Block> getToDeleteList()
public void addDeleteBlock(org.apache.hadoop.hdfs.protocol.Block toDelete)
toDeleteList
toDelete
- the to-be-deleted blockpublic void clear()
toDeleteList
Copyright © 2014 Apache Software Foundation. All Rights Reserved.