public static enum NameNode.OperationCategory extends Enum<NameNode.OperationCategory>
| Enum Constant and Description |
|---|
CHECKPOINT
Operations related to checkpointing
|
JOURNAL
Operations related to
JournalProtocol |
READ
Read operation that does not change the namespace state
|
UNCHECKED
Operations that are state agnostic
|
WRITE
Write operation that changes the namespace state
|
| Modifier and Type | Method and Description |
|---|---|
static NameNode.OperationCategory |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static NameNode.OperationCategory[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final NameNode.OperationCategory UNCHECKED
public static final NameNode.OperationCategory READ
public static final NameNode.OperationCategory WRITE
public static final NameNode.OperationCategory CHECKPOINT
public static final NameNode.OperationCategory JOURNAL
JournalProtocolpublic static NameNode.OperationCategory[] values()
for (NameNode.OperationCategory c : NameNode.OperationCategory.values()) System.out.println(c);
public static NameNode.OperationCategory valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullCopyright © 2008–2024 Apache Software Foundation. All rights reserved.