| Package | Description |
|---|---|
| org.apache.hadoop.hdfs.protocol.datatransfer |
| Modifier and Type | Method | Description |
|---|---|---|
static ReplaceDatanodeOnFailure.Policy |
ReplaceDatanodeOnFailure.Policy.valueOf(java.lang.String name) |
Returns the enum constant of this type with the specified name.
|
static ReplaceDatanodeOnFailure.Policy[] |
ReplaceDatanodeOnFailure.Policy.values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method | Description |
|---|---|---|
static void |
ReplaceDatanodeOnFailure.write(ReplaceDatanodeOnFailure.Policy policy,
boolean bestEffort,
org.apache.hadoop.conf.Configuration conf) |
Write the setting to configuration.
|
| Constructor | Description |
|---|---|
ReplaceDatanodeOnFailure(ReplaceDatanodeOnFailure.Policy policy,
boolean bestEffort) |
Copyright © 2008–2025 Apache Software Foundation. All rights reserved.