public static enum StorageService.Mode extends java.lang.Enum<StorageService.Mode>
Enum Constant and Description |
---|
DECOMMISSIONED |
DRAINED |
DRAINING |
JOINING |
LEAVING |
MOVING |
NORMAL |
STARTING |
Modifier and Type | Method and Description |
---|---|
static StorageService.Mode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static StorageService.Mode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final StorageService.Mode STARTING
public static final StorageService.Mode NORMAL
public static final StorageService.Mode JOINING
public static final StorageService.Mode LEAVING
public static final StorageService.Mode DECOMMISSIONED
public static final StorageService.Mode MOVING
public static final StorageService.Mode DRAINING
public static final StorageService.Mode DRAINED
public static StorageService.Mode[] values()
for (StorageService.Mode c : StorageService.Mode.values()) System.out.println(c);
public static StorageService.Mode valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullCopyright © 2009- The Apache Software Foundation