@InterfaceAudience.Private public enum Phase extends Enum<Phase>
Enum Constant and Description |
---|
LOADING_EDITS
The namenode is loading the edits file and applying its operations to the
in-memory metadata.
|
LOADING_FSIMAGE
The namenode is loading the fsimage file into memory.
|
SAFEMODE
The namenode has entered safemode, awaiting block reports from data nodes.
|
SAVING_CHECKPOINT
The namenode is saving a new checkpoint.
|
Modifier and Type | Method and Description |
---|---|
String |
getDescription()
Returns phase description.
|
String |
getName()
Returns phase name.
|
static Phase |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Phase[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Phase LOADING_FSIMAGE
public static final Phase LOADING_EDITS
public static final Phase SAVING_CHECKPOINT
public static final Phase SAFEMODE
public static Phase[] values()
for (Phase c : Phase.values()) System.out.println(c);
public static Phase 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 getDescription()
public String getName()
Copyright © 2013 Apache Software Foundation. All rights reserved.