Package org.apache.geode.distributed
Enum Class AbstractLauncher.Status
- All Implemented Interfaces:
Serializable,Comparable<AbstractLauncher.Status>,Constable
- Enclosing class:
- AbstractLauncher<T extends Comparable<T>>
The Status enumerated type represents the various lifecycle states of a GemFire service (such
as a Cache Server, a Locator or a Manager).
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptionGets the description of the Status enum type.toString()Gets a String representation of the Status enum type.static AbstractLauncher.StatusReturns the enum constant of this class with the specified name.static AbstractLauncher.StatusvalueOfDescription(String description) Looks up the Status enum type by description.static AbstractLauncher.Status[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
NOT_RESPONDING
-
ONLINE
-
STARTING
-
STOPPED
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-
valueOfDescription
Looks up the Status enum type by description. The lookup operation is case-insensitive.- Parameters:
description- a String value describing the Locator's status.- Returns:
- a Status enumerated type matching the description.
-
getDescription
Gets the description of the Status enum type.- Returns:
- a String describing the Status enum type.
-
toString
Gets a String representation of the Status enum type.- Overrides:
toStringin classEnum<AbstractLauncher.Status>- Returns:
- a String representing the Status enum type.
- See Also:
-