public enum ConnectionPoolType extends java.lang.Enum<ConnectionPoolType>
ConnectionPoolRoundRobinConnectionPoolImpl} {@link BagOfConnectionsConnectionPoolImpl} {@link TokenAwareConnectionPoolImpl} for different pool impls
that correspond to this enum.| Enum Constant and Description |
|---|
BAG |
ROUND_ROBIN |
TOKEN_AWARE |
| Modifier and Type | Method and Description |
|---|---|
static ConnectionPoolType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ConnectionPoolType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ConnectionPoolType TOKEN_AWARE
public static final ConnectionPoolType ROUND_ROBIN
public static final ConnectionPoolType BAG
public static ConnectionPoolType[] values()
for (ConnectionPoolType c : ConnectionPoolType.values()) System.out.println(c);
public static ConnectionPoolType valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant
with the specified namejava.lang.NullPointerException - if the argument is null