public enum GlusterBrickStatus extends Enum<GlusterBrickStatus>
Enum Constant and Description |
---|
DOWN
Brick is in
down state, the data cannot be stored or retrieved from it. |
UNKNOWN
When the status cannot be determined due to host being non-responsive.
|
UP
Brick is in
up state, the data can be stored or retrieved from it. |
Modifier and Type | Method and Description |
---|---|
static GlusterBrickStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static GlusterBrickStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final GlusterBrickStatus UP
Brick is in up
state, the data can be stored or retrieved from it.
public static final GlusterBrickStatus DOWN
Brick is in down
state, the data cannot be stored or retrieved from it.
public static final GlusterBrickStatus UNKNOWN
When the status cannot be determined due to host being non-responsive.
public static GlusterBrickStatus[] values()
for (GlusterBrickStatus c : GlusterBrickStatus.values()) System.out.println(c);
public static GlusterBrickStatus 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 © 2016. All rights reserved.