public static class INode.BlocksMapUpdateInfo
extends java.lang.Object
| Modifier and Type | Class | Description |
|---|---|---|
static class |
INode.BlocksMapUpdateInfo.UpdatedReplicationInfo |
The blocks whose replication factor need to be updated.
|
| Constructor | Description |
|---|---|
BlocksMapUpdateInfo() |
| Modifier and Type | Method | Description |
|---|---|---|
void |
addDeleteBlock(BlockInfo toDelete) |
Add a to-be-deleted block into the
toDeleteList |
void |
addUpdateReplicationFactor(BlockInfo block,
short targetRepl) |
|
void |
clear() |
Clear
toDeleteList |
java.util.List<BlockInfo> |
getToDeleteList() |
|
java.util.List<INode.BlocksMapUpdateInfo.UpdatedReplicationInfo> |
toUpdateReplicationInfo() |
public java.util.List<BlockInfo> getToDeleteList()
public java.util.List<INode.BlocksMapUpdateInfo.UpdatedReplicationInfo> toUpdateReplicationInfo()
public void addDeleteBlock(BlockInfo toDelete)
toDeleteListtoDelete - the to-be-deleted blockpublic void addUpdateReplicationFactor(BlockInfo block, short targetRepl)
public void clear()
toDeleteListCopyright © 2008–2025 Apache Software Foundation. All rights reserved.