public static enum NameNode.OperationCategory extends Enum<NameNode.OperationCategory>
| Enum Constant and Description | 
|---|
| CHECKPOINTOperations related to checkpointing | 
| JOURNALOperations related to  JournalProtocol | 
| READRead operation that does not change the namespace state | 
| UNCHECKEDOperations that are state agnostic | 
| WRITEWrite 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–2023 Apache Software Foundation. All rights reserved.