org.apache.hadoop.hbase.executor
Enum ExecutorType
java.lang.Object
java.lang.Enum<ExecutorType>
org.apache.hadoop.hbase.executor.ExecutorType
- All Implemented Interfaces:
- Serializable, Comparable<ExecutorType>
@InterfaceAudience.Private
public enum ExecutorType
- extends Enum<ExecutorType>
The following is a list of all executor types, both those that run in the
master and those that run in the regionserver.
Method Summary |
static ExecutorType |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static ExecutorType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared. |
MASTER_CLOSE_REGION
public static final ExecutorType MASTER_CLOSE_REGION
MASTER_OPEN_REGION
public static final ExecutorType MASTER_OPEN_REGION
MASTER_SERVER_OPERATIONS
public static final ExecutorType MASTER_SERVER_OPERATIONS
MASTER_TABLE_OPERATIONS
public static final ExecutorType MASTER_TABLE_OPERATIONS
MASTER_RS_SHUTDOWN
public static final ExecutorType MASTER_RS_SHUTDOWN
MASTER_META_SERVER_OPERATIONS
public static final ExecutorType MASTER_META_SERVER_OPERATIONS
M_LOG_REPLAY_OPS
public static final ExecutorType M_LOG_REPLAY_OPS
RS_OPEN_REGION
public static final ExecutorType RS_OPEN_REGION
RS_OPEN_ROOT
public static final ExecutorType RS_OPEN_ROOT
RS_OPEN_META
public static final ExecutorType RS_OPEN_META
RS_CLOSE_REGION
public static final ExecutorType RS_CLOSE_REGION
RS_CLOSE_ROOT
public static final ExecutorType RS_CLOSE_ROOT
RS_CLOSE_META
public static final ExecutorType RS_CLOSE_META
RS_PARALLEL_SEEK
public static final ExecutorType RS_PARALLEL_SEEK
RS_LOG_REPLAY_OPS
public static final ExecutorType RS_LOG_REPLAY_OPS
values
public static ExecutorType[] 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 (ExecutorType c : ExecutorType.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static ExecutorType 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 © 2015 The Apache Software Foundation. All rights reserved.