public static enum PoolMap.PoolType extends Enum<PoolMap.PoolType>
| Enum Constant and Description |
|---|
Reusable |
RoundRobin |
ThreadLocal |
| Modifier and Type | Method and Description |
|---|---|
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.
|
public static final PoolMap.PoolType Reusable
public static final PoolMap.PoolType ThreadLocal
public static final PoolMap.PoolType RoundRobin
public static PoolMap.PoolType[] values()
for (PoolMap.PoolType c : PoolMap.PoolType.values()) System.out.println(c);
public static PoolMap.PoolType valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic static PoolMap.PoolType valueOf(String poolTypeName, PoolMap.PoolType defaultPoolType, PoolMap.PoolType... allowedPoolTypes)
public static String fuzzyNormalize(String name)
public static PoolMap.PoolType fuzzyMatch(String name)
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.