org.apache.hadoop.hbase.util
Enum PoolMap.PoolType

java.lang.Object
  extended by java.lang.Enum<PoolMap.PoolType>
      extended by org.apache.hadoop.hbase.util.PoolMap.PoolType
All Implemented Interfaces:
Serializable, Comparable<PoolMap.PoolType>
Enclosing class:
PoolMap<K,V>

public static enum PoolMap.PoolType
extends Enum<PoolMap.PoolType>


Enum Constant Summary
Reusable
           
RoundRobin
           
ThreadLocal
           
 
Method Summary
static PoolMap.PoolType fuzzyMatch(String name)
           
static String fuzzyNormalize(String name)
           
static PoolMap.PoolType valueOf(String name)
          Returns the enum constant of this type with the specified name.
static PoolMap.PoolType valueOf(String poolTypeName, PoolMap.PoolType defaultPoolType, PoolMap.PoolType... allowedPoolTypes)
           
static PoolMap.PoolType[] 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

Reusable

public static final PoolMap.PoolType Reusable

ThreadLocal

public static final PoolMap.PoolType ThreadLocal

RoundRobin

public static final PoolMap.PoolType RoundRobin
Method Detail

values

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

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

valueOf

public static PoolMap.PoolType 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

valueOf

public static PoolMap.PoolType valueOf(String poolTypeName,
                                       PoolMap.PoolType defaultPoolType,
                                       PoolMap.PoolType... allowedPoolTypes)

fuzzyNormalize

public static String fuzzyNormalize(String name)

fuzzyMatch

public static PoolMap.PoolType fuzzyMatch(String name)


Copyright © 2015 The Apache Software Foundation. All Rights Reserved.