public static enum ZkApplication.State extends Enum<ZkApplication.State>
| Enum Constant and Description |
|---|
CONNECTED |
DISCONNECTED |
FUNCTIONAL |
PRESTART |
SAFEMODE |
SAFEMODE_REPAIR |
SHUTDOWN |
| Modifier and Type | Method and Description |
|---|---|
static ZkApplication.State |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ZkApplication.State[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ZkApplication.State PRESTART
public static final ZkApplication.State DISCONNECTED
public static final ZkApplication.State CONNECTED
public static final ZkApplication.State FUNCTIONAL
public static final ZkApplication.State SAFEMODE
public static final ZkApplication.State SAFEMODE_REPAIR
public static final ZkApplication.State SHUTDOWN
public static ZkApplication.State[] values()
for (ZkApplication.State c : ZkApplication.State.values()) System.out.println(c);
public static ZkApplication.State 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 © 2012–2015 Facebook, Inc.. All rights reserved.