org.apache.accumulo.server.master.state
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>
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
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 name
NullPointerException
- if the argument is null
getId
public byte getId()
getStateById
public static TabletServerState getStateById(byte id)
getBadStates
public static Set<TabletServerState> getBadStates()
Copyright © 2012 The Apache Software Foundation. All Rights Reserved.