Enum TabletServerState
- java.lang.Object
-
- java.lang.Enum<TabletServerState>
-
- org.apache.accumulo.server.master.state.TabletServerState
-
- All Implemented Interfaces:
Serializable,Comparable<TabletServerState>
public enum TabletServerState extends Enum<TabletServerState>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description BAD_CONFIGBAD_INSTANCEBAD_INSTANCE_AND_CONFIGBAD_SYSTEM_PASSWORDBAD_VERSIONBAD_VERSION_AND_CONFIGBAD_VERSION_AND_INSTANCEBAD_VERSION_AND_INSTANCE_AND_CONFIGDOWNNEWONLINERESERVEDUNRESPONSIVE
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description bytegetId()static TabletServerStategetStateById(byte id)static TabletServerStatevalueOf(String name)Returns the enum constant of this type with the specified name.static TabletServerState[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
RESERVED
public static final TabletServerState RESERVED
-
NEW
public static final TabletServerState NEW
-
ONLINE
public static final TabletServerState ONLINE
-
UNRESPONSIVE
public static final TabletServerState UNRESPONSIVE
-
DOWN
public static final TabletServerState DOWN
-
BAD_SYSTEM_PASSWORD
public static final TabletServerState BAD_SYSTEM_PASSWORD
-
BAD_VERSION
public static final TabletServerState BAD_VERSION
-
BAD_INSTANCE
public static final TabletServerState BAD_INSTANCE
-
BAD_CONFIG
public static final TabletServerState BAD_CONFIG
-
BAD_VERSION_AND_INSTANCE
public static final TabletServerState BAD_VERSION_AND_INSTANCE
-
BAD_VERSION_AND_CONFIG
public static final TabletServerState BAD_VERSION_AND_CONFIG
-
BAD_VERSION_AND_INSTANCE_AND_CONFIG
public static final TabletServerState BAD_VERSION_AND_INSTANCE_AND_CONFIG
-
BAD_INSTANCE_AND_CONFIG
public static final TabletServerState BAD_INSTANCE_AND_CONFIG
-
-
Method Detail
-
values
public static TabletServerState[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (TabletServerState c : TabletServerState.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static TabletServerState valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified nameNullPointerException- if the argument is null
-
getId
public byte getId()
-
getStateById
public static TabletServerState getStateById(byte id)
-
-