org.apache.hadoop.hbase.executor
Enum HBaseExecutorService.HBaseExecutorServiceType
java.lang.Object
java.lang.Enum<HBaseExecutorService.HBaseExecutorServiceType>
org.apache.hadoop.hbase.executor.HBaseExecutorService.HBaseExecutorServiceType
- All Implemented Interfaces:
- Serializable, Comparable<HBaseExecutorService.HBaseExecutorServiceType>
- Enclosing class:
- HBaseExecutorService
public static enum HBaseExecutorService.HBaseExecutorServiceType
- extends Enum<HBaseExecutorService.HBaseExecutorServiceType>
The following is a list of names for the various executor services in both
the master and the region server.
NONE
public static final HBaseExecutorService.HBaseExecutorServiceType NONE
MASTER_CLOSEREGION
public static final HBaseExecutorService.HBaseExecutorServiceType MASTER_CLOSEREGION
MASTER_OPENREGION
public static final HBaseExecutorService.HBaseExecutorServiceType MASTER_OPENREGION
values
public static HBaseExecutorService.HBaseExecutorServiceType[] 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 (HBaseExecutorService.HBaseExecutorServiceType c : HBaseExecutorService.HBaseExecutorServiceType.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static HBaseExecutorService.HBaseExecutorServiceType 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
startExecutorService
public void startExecutorService(String serverName)
getExecutor
public HBaseExecutorService getExecutor(String serverName)
getExecutorName
public String getExecutorName(String serverName)
Copyright © 2010 Apache Software Foundation. All Rights Reserved.