| Package | Description |
|---|---|
| org.apache.hadoop.hdfs.server.namenode | |
| org.apache.hadoop.hdfs.server.namenode.ha |
| Modifier and Type | Method | Description |
|---|---|---|
static NameNode.OperationCategory |
NameNode.OperationCategory.valueOf(java.lang.String name) |
Returns the enum constant of this type with the specified name.
|
static NameNode.OperationCategory[] |
NameNode.OperationCategory.values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method | Description |
|---|---|---|
void |
BackupState.checkOperation(HAContext context,
NameNode.OperationCategory op) |
|
void |
FSNamesystem.checkOperation(NameNode.OperationCategory op) |
|
void |
NameNode.NameNodeHAContext.checkOperation(NameNode.OperationCategory op) |
Check if an operation of given category is allowed
|
| Modifier and Type | Method | Description |
|---|---|---|
void |
ActiveState.checkOperation(HAContext context,
NameNode.OperationCategory op) |
|
void |
HAContext.checkOperation(NameNode.OperationCategory op) |
Verify that the given operation category is allowed in the current state.
|
abstract void |
HAState.checkOperation(HAContext context,
NameNode.OperationCategory op) |
Check if an operation is supported in a given state.
|
void |
StandbyState.checkOperation(HAContext context,
NameNode.OperationCategory op) |
Copyright © 2008–2025 Apache Software Foundation. All rights reserved.