org.apache.hadoop.hbase.executor
Enum ExecutorService.ExecutorType
java.lang.Object
java.lang.Enum<ExecutorService.ExecutorType>
org.apache.hadoop.hbase.executor.ExecutorService.ExecutorType
- All Implemented Interfaces:
- Serializable, Comparable<ExecutorService.ExecutorType>
- Enclosing class:
- ExecutorService
public static enum ExecutorService.ExecutorType
- extends Enum<ExecutorService.ExecutorType>
The following is a list of all executor types, both those that run in the
master and those that run in the regionserver.
MASTER_CLOSE_REGION
public static final ExecutorService.ExecutorType MASTER_CLOSE_REGION
MASTER_OPEN_REGION
public static final ExecutorService.ExecutorType MASTER_OPEN_REGION
MASTER_SERVER_OPERATIONS
public static final ExecutorService.ExecutorType MASTER_SERVER_OPERATIONS
MASTER_TABLE_OPERATIONS
public static final ExecutorService.ExecutorType MASTER_TABLE_OPERATIONS
MASTER_RS_SHUTDOWN
public static final ExecutorService.ExecutorType MASTER_RS_SHUTDOWN
MASTER_META_SERVER_OPERATIONS
public static final ExecutorService.ExecutorType MASTER_META_SERVER_OPERATIONS
RS_OPEN_REGION
public static final ExecutorService.ExecutorType RS_OPEN_REGION
RS_OPEN_ROOT
public static final ExecutorService.ExecutorType RS_OPEN_ROOT
RS_OPEN_META
public static final ExecutorService.ExecutorType RS_OPEN_META
RS_CLOSE_REGION
public static final ExecutorService.ExecutorType RS_CLOSE_REGION
RS_CLOSE_ROOT
public static final ExecutorService.ExecutorType RS_CLOSE_ROOT
RS_CLOSE_META
public static final ExecutorService.ExecutorType RS_CLOSE_META
values
public static ExecutorService.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 (ExecutorService.ExecutorType c : ExecutorService.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 ExecutorService.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 © 2011 The Apache Software Foundation. All Rights Reserved.