org.apache.hadoop.hbase.util
Enum PoolMap.PoolType
java.lang.Object
java.lang.Enum<PoolMap.PoolType>
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>
Reusable
public static final PoolMap.PoolType Reusable
ThreadLocal
public static final PoolMap.PoolType ThreadLocal
RoundRobin
public static final PoolMap.PoolType RoundRobin
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 © 2014 The Apache Software Foundation. All Rights Reserved.