| Package | Description |
|---|---|
| org.apache.hadoop.hdfs.server.blockmanagement | |
| org.apache.hadoop.hdfs.server.namenode |
| Modifier and Type | Method | Description |
|---|---|---|
DatanodeDescriptor.CachedBlocksList.Type |
DatanodeDescriptor.CachedBlocksList.getType() |
|
static DatanodeDescriptor.CachedBlocksList.Type |
DatanodeDescriptor.CachedBlocksList.Type.valueOf(java.lang.String name) |
Returns the enum constant of this type with the specified name.
|
static DatanodeDescriptor.CachedBlocksList.Type[] |
DatanodeDescriptor.CachedBlocksList.Type.values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method | Description |
|---|---|---|
java.util.List<DatanodeDescriptor> |
CachedBlock.getDatanodes(DatanodeDescriptor.CachedBlocksList.Type type) |
Get a list of the datanodes which this block is cached,
planned to be cached, or planned to be uncached on.
|
Copyright © 2008–2025 Apache Software Foundation. All rights reserved.