| Package | Description |
|---|---|
| org.apache.hadoop.hdfs.server.blockmanagement | |
| org.apache.hadoop.hdfs.server.common |
| Modifier and Type | Method | Description |
|---|---|---|
HdfsServerConstants.BlockUCState |
BlockInfo.getBlockUCState() |
|
HdfsServerConstants.BlockUCState |
BlockUnderConstructionFeature.getBlockUCState() |
Return the state of the block under construction.
|
| Modifier and Type | Method | Description |
|---|---|---|
void |
BlockInfo.convertToBlockUnderConstruction(HdfsServerConstants.BlockUCState s,
DatanodeStorageInfo[] targets) |
Add/Update the under construction feature.
|
| Constructor | Description |
|---|---|
BlockUnderConstructionFeature(org.apache.hadoop.hdfs.protocol.Block blk,
HdfsServerConstants.BlockUCState state,
DatanodeStorageInfo[] targets,
org.apache.hadoop.hdfs.protocol.BlockType blockType) |
| Modifier and Type | Method | Description |
|---|---|---|
static HdfsServerConstants.BlockUCState |
HdfsServerConstants.BlockUCState.valueOf(java.lang.String name) |
Returns the enum constant of this type with the specified name.
|
static HdfsServerConstants.BlockUCState[] |
HdfsServerConstants.BlockUCState.values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Copyright © 2008–2025 Apache Software Foundation. All rights reserved.