public enum TabletServerState extends Enum<TabletServerState>
Enum Constant and Description |
---|
BAD_CONFIG |
BAD_INSTANCE |
BAD_INSTANCE_AND_CONFIG |
BAD_SYSTEM_PASSWORD |
BAD_VERSION |
BAD_VERSION_AND_CONFIG |
BAD_VERSION_AND_INSTANCE |
BAD_VERSION_AND_INSTANCE_AND_CONFIG |
DOWN |
NEW |
ONLINE |
RESERVED |
UNRESPONSIVE |
Modifier and Type | Method and Description |
---|---|
byte |
getId() |
static TabletServerState |
getStateById(byte id) |
static TabletServerState |
valueOf(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.
|
public static final TabletServerState RESERVED
public static final TabletServerState NEW
public static final TabletServerState ONLINE
public static final TabletServerState UNRESPONSIVE
public static final TabletServerState DOWN
public static final TabletServerState BAD_SYSTEM_PASSWORD
public static final TabletServerState BAD_VERSION
public static final TabletServerState BAD_INSTANCE
public static final TabletServerState BAD_CONFIG
public static final TabletServerState BAD_VERSION_AND_INSTANCE
public static final TabletServerState BAD_VERSION_AND_CONFIG
public static final TabletServerState BAD_VERSION_AND_INSTANCE_AND_CONFIG
public static final TabletServerState BAD_INSTANCE_AND_CONFIG
public static TabletServerState[] values()
for (TabletServerState c : TabletServerState.values()) System.out.println(c);
public static TabletServerState 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 nullpublic byte getId()
public static TabletServerState getStateById(byte id)
Copyright © 2011–2018 The Apache Software Foundation. All rights reserved.