public static enum NNStorage.NameNodeDirType extends Enum<NNStorage.NameNodeDirType> implements org.apache.hadoop.hdfs.server.common.Storage.StorageDirType
| Enum Constant and Description | 
|---|
| EDITS | 
| IMAGE | 
| IMAGE_AND_EDITS | 
| UNDEFINED | 
| Modifier and Type | Method and Description | 
|---|---|
| org.apache.hadoop.hdfs.server.common.Storage.StorageDirType | getStorageDirType() | 
| boolean | isOfType(org.apache.hadoop.hdfs.server.common.Storage.StorageDirType type) | 
| static NNStorage.NameNodeDirType | valueOf(String name)Returns the enum constant of this type with the specified name. | 
| static NNStorage.NameNodeDirType[] | values()Returns an array containing the constants of this enum type, in
the order they are declared. | 
public static final NNStorage.NameNodeDirType UNDEFINED
public static final NNStorage.NameNodeDirType IMAGE
public static final NNStorage.NameNodeDirType EDITS
public static final NNStorage.NameNodeDirType IMAGE_AND_EDITS
public static NNStorage.NameNodeDirType[] values()
for (NNStorage.NameNodeDirType c : NNStorage.NameNodeDirType.values()) System.out.println(c);
public static NNStorage.NameNodeDirType 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 nullpublic org.apache.hadoop.hdfs.server.common.Storage.StorageDirType getStorageDirType()
getStorageDirType in interface org.apache.hadoop.hdfs.server.common.Storage.StorageDirTypepublic boolean isOfType(org.apache.hadoop.hdfs.server.common.Storage.StorageDirType type)
isOfType in interface org.apache.hadoop.hdfs.server.common.Storage.StorageDirTypeCopyright © 2008–2023 Apache Software Foundation. All rights reserved.