org.apache.hadoop.hbase.hbql.executor
Enum ExecutorProperty.Type

java.lang.Object
  extended by java.lang.Enum<ExecutorProperty.Type>
      extended by org.apache.hadoop.hbase.hbql.executor.ExecutorProperty.Type
All Implemented Interfaces:
Serializable, Comparable<ExecutorProperty.Type>, PropertyType
Enclosing class:
ExecutorProperty

public static enum ExecutorProperty.Type
extends Enum<ExecutorProperty.Type>
implements PropertyType


Enum Constant Summary
COMPLETION_QUEUE_SIZE
           
KEEP_ALIVE_SECS
           
MAX_EXECUTOR_POOL_SIZE
           
MAX_THREAD_COUNT
           
MIN_THREAD_COUNT
           
THREADS_READ_RESULTS
           
 
Method Summary
 String getDescription()
           
 ArgumentListTypeSignature getTypeSignature()
           
static ExecutorProperty.Type valueOf(String name)
          Returns the enum constant of this type with the specified name.
static ExecutorProperty.Type[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

MAX_EXECUTOR_POOL_SIZE

public static final ExecutorProperty.Type MAX_EXECUTOR_POOL_SIZE

MIN_THREAD_COUNT

public static final ExecutorProperty.Type MIN_THREAD_COUNT

MAX_THREAD_COUNT

public static final ExecutorProperty.Type MAX_THREAD_COUNT

KEEP_ALIVE_SECS

public static final ExecutorProperty.Type KEEP_ALIVE_SECS

THREADS_READ_RESULTS

public static final ExecutorProperty.Type THREADS_READ_RESULTS

COMPLETION_QUEUE_SIZE

public static final ExecutorProperty.Type COMPLETION_QUEUE_SIZE
Method Detail

values

public static ExecutorProperty.Type[] 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 (ExecutorProperty.Type c : ExecutorProperty.Type.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static ExecutorProperty.Type 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

getTypeSignature

public ArgumentListTypeSignature getTypeSignature()
Specified by:
getTypeSignature in interface PropertyType

getDescription

public String getDescription()
Specified by:
getDescription in interface PropertyType


Copyright © 2011. All Rights Reserved.