org.apache.hadoop.hbase.executor
Enum EventHandler.EventType
java.lang.Object
java.lang.Enum<EventHandler.EventType>
org.apache.hadoop.hbase.executor.EventHandler.EventType
- All Implemented Interfaces:
- Serializable, Comparable<EventHandler.EventType>
- Enclosing class:
- EventHandler
public static enum EventHandler.EventType
- extends Enum<EventHandler.EventType>
List of all HBase event handler types. Event types are named by a
convention: event type names specify the component from which the event
originated and then where its destined -- e.g. RS2ZK_ prefix means the
event came from a regionserver destined for zookeeper -- and then what
the even is; e.g. REGION_OPENING.
We give the enums indices so we can add types later and keep them
grouped together rather than have to add them always to the end as we
would have to if we used raw enum ordinals.
RS_ZK_REGION_CLOSING
public static final EventHandler.EventType RS_ZK_REGION_CLOSING
RS_ZK_REGION_CLOSED
public static final EventHandler.EventType RS_ZK_REGION_CLOSED
RS_ZK_REGION_OPENING
public static final EventHandler.EventType RS_ZK_REGION_OPENING
RS_ZK_REGION_OPENED
public static final EventHandler.EventType RS_ZK_REGION_OPENED
M_RS_OPEN_REGION
public static final EventHandler.EventType M_RS_OPEN_REGION
M_RS_OPEN_ROOT
public static final EventHandler.EventType M_RS_OPEN_ROOT
M_RS_OPEN_META
public static final EventHandler.EventType M_RS_OPEN_META
M_RS_CLOSE_REGION
public static final EventHandler.EventType M_RS_CLOSE_REGION
M_RS_CLOSE_ROOT
public static final EventHandler.EventType M_RS_CLOSE_ROOT
M_RS_CLOSE_META
public static final EventHandler.EventType M_RS_CLOSE_META
C_M_DELETE_TABLE
public static final EventHandler.EventType C_M_DELETE_TABLE
C_M_DISABLE_TABLE
public static final EventHandler.EventType C_M_DISABLE_TABLE
C_M_ENABLE_TABLE
public static final EventHandler.EventType C_M_ENABLE_TABLE
C_M_MODIFY_TABLE
public static final EventHandler.EventType C_M_MODIFY_TABLE
C_M_ADD_FAMILY
public static final EventHandler.EventType C_M_ADD_FAMILY
C_M_DELETE_FAMILY
public static final EventHandler.EventType C_M_DELETE_FAMILY
C_M_MODIFY_FAMILY
public static final EventHandler.EventType C_M_MODIFY_FAMILY
M_ZK_REGION_OFFLINE
public static final EventHandler.EventType M_ZK_REGION_OFFLINE
M_SERVER_SHUTDOWN
public static final EventHandler.EventType M_SERVER_SHUTDOWN
M_META_SERVER_SHUTDOWN
public static final EventHandler.EventType M_META_SERVER_SHUTDOWN
values
public static EventHandler.EventType[] 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 (EventHandler.EventType c : EventHandler.EventType.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static EventHandler.EventType 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
Copyright © 2011 The Apache Software Foundation. All Rights Reserved.