java.io.Serializable, java.lang.Comparable<NameNode.OperationCategory>public static enum NameNode.OperationCategory extends java.lang.Enum<NameNode.OperationCategory>
| Enum Constant | 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 | Description |
|---|---|---|
static NameNode.OperationCategory |
valueOf(java.lang.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(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullCopyright © 2008–2025 Apache Software Foundation. All rights reserved.