org.apache.accumulo.core.master.thrift
public static enum MasterMonitorInfo._Fields extends Enum<MasterMonitorInfo._Fields> implements org.apache.thrift.TFieldIdEnum
Enum Constant and Description |
---|
BAD_TSERVERS |
DEAD_TABLET_SERVERS |
GOAL_STATE |
SERVERS_SHUTTING_DOWN |
STATE |
T_SERVER_INFO |
TABLE_MAP |
UNASSIGNED_TABLETS |
Modifier and Type | Method and Description |
---|---|
static MasterMonitorInfo._Fields |
findByName(String name)
Find the _Fields constant that matches name, or null if its not found.
|
static MasterMonitorInfo._Fields |
findByThriftId(int fieldId)
Find the _Fields constant that matches fieldId, or null if its not found.
|
static MasterMonitorInfo._Fields |
findByThriftIdOrThrow(int fieldId)
Find the _Fields constant that matches fieldId, throwing an exception
if it is not found.
|
String |
getFieldName() |
short |
getThriftFieldId() |
static MasterMonitorInfo._Fields |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MasterMonitorInfo._Fields[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MasterMonitorInfo._Fields TABLE_MAP
public static final MasterMonitorInfo._Fields T_SERVER_INFO
public static final MasterMonitorInfo._Fields BAD_TSERVERS
public static final MasterMonitorInfo._Fields STATE
MasterState
public static final MasterMonitorInfo._Fields GOAL_STATE
MasterGoalState
public static final MasterMonitorInfo._Fields UNASSIGNED_TABLETS
public static final MasterMonitorInfo._Fields SERVERS_SHUTTING_DOWN
public static final MasterMonitorInfo._Fields DEAD_TABLET_SERVERS
public static MasterMonitorInfo._Fields[] values()
for (MasterMonitorInfo._Fields c : MasterMonitorInfo._Fields.values()) System.out.println(c);
public static MasterMonitorInfo._Fields 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 static MasterMonitorInfo._Fields findByThriftId(int fieldId)
public static MasterMonitorInfo._Fields findByThriftIdOrThrow(int fieldId)
public static MasterMonitorInfo._Fields findByName(String name)
public short getThriftFieldId()
getThriftFieldId
in interface org.apache.thrift.TFieldIdEnum
public String getFieldName()
getFieldName
in interface org.apache.thrift.TFieldIdEnum
Copyright © 2011–2015 The Apache Software Foundation. All rights reserved.