public enum PoolFlushStrategy extends Enum<PoolFlushStrategy>
| Enum Constant and Description |
|---|
ENTIRE_POOL |
FAILING_CONNECTION_ONLY |
IDLE_CONNECTIONS |
| Modifier and Type | Method and Description |
|---|---|
static PoolFlushStrategy |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PoolFlushStrategy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PoolFlushStrategy FAILING_CONNECTION_ONLY
public static final PoolFlushStrategy IDLE_CONNECTIONS
public static final PoolFlushStrategy ENTIRE_POOL
public static PoolFlushStrategy[] values()
for (PoolFlushStrategy c : PoolFlushStrategy.values()) System.out.println(c);
public static PoolFlushStrategy 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 nullCopyright © 2021. All rights reserved.