public static enum NNStorage.NameNodeFile extends Enum<NNStorage.NameNodeFile>
Enum Constant and Description |
---|
EDITS |
EDITS_INPROGRESS |
EDITS_NEW |
EDITS_TMP |
IMAGE |
IMAGE_LEGACY_OIV |
IMAGE_NEW |
IMAGE_ROLLBACK |
SEEN_TXID |
TIME |
Modifier and Type | Method and Description |
---|---|
String |
getName() |
static NNStorage.NameNodeFile |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static NNStorage.NameNodeFile[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final NNStorage.NameNodeFile IMAGE
public static final NNStorage.NameNodeFile TIME
public static final NNStorage.NameNodeFile SEEN_TXID
public static final NNStorage.NameNodeFile EDITS
public static final NNStorage.NameNodeFile IMAGE_NEW
public static final NNStorage.NameNodeFile IMAGE_ROLLBACK
public static final NNStorage.NameNodeFile EDITS_NEW
public static final NNStorage.NameNodeFile EDITS_INPROGRESS
public static final NNStorage.NameNodeFile EDITS_TMP
public static final NNStorage.NameNodeFile IMAGE_LEGACY_OIV
public static NNStorage.NameNodeFile[] values()
for (NNStorage.NameNodeFile c : NNStorage.NameNodeFile.values()) System.out.println(c);
public static NNStorage.NameNodeFile 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 String getName()
Copyright © 2017 Apache Software Foundation. All Rights Reserved.