public static enum ClusterControllerImpl.State extends Enum<ClusterControllerImpl.State>
Enum Constant and Description |
---|
ENDED
The controller has shut down.
|
ENDING
Controller is shutting down.
|
FAILED
Something bad happened on start-up; the AM can't start and must shut
down.
|
LIVE
Normal operating state: the controller seeks to maintain the desired
number of tasks.
|
START
Cluster is starting.
|
Modifier and Type | Method and Description |
---|---|
static ClusterControllerImpl.State |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ClusterControllerImpl.State[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ClusterControllerImpl.State START
public static final ClusterControllerImpl.State LIVE
public static final ClusterControllerImpl.State ENDING
public static final ClusterControllerImpl.State ENDED
public static final ClusterControllerImpl.State FAILED
public static ClusterControllerImpl.State[] values()
for (ClusterControllerImpl.State c : ClusterControllerImpl.State.values()) System.out.println(c);
public static ClusterControllerImpl.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 © 1970 The Apache Software Foundation. All rights reserved.