public static enum BetterFixedChannelPool.AcquireTimeoutAction extends Enum<BetterFixedChannelPool.AcquireTimeoutAction>
| Enum Constant and Description |
|---|
FAIL
Fail the
Future of the acquire call with a TimeoutException. |
NEW
Create a new connection when the timeout is detected.
|
| Modifier and Type | Method and Description |
|---|---|
static BetterFixedChannelPool.AcquireTimeoutAction |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static BetterFixedChannelPool.AcquireTimeoutAction[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BetterFixedChannelPool.AcquireTimeoutAction NEW
public static final BetterFixedChannelPool.AcquireTimeoutAction FAIL
Future of the acquire call with a TimeoutException.public static BetterFixedChannelPool.AcquireTimeoutAction[] values()
for (BetterFixedChannelPool.AcquireTimeoutAction c : BetterFixedChannelPool.AcquireTimeoutAction.values()) System.out.println(c);
public static BetterFixedChannelPool.AcquireTimeoutAction 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 © 2017 Amazon Web Services, Inc. All Rights Reserved.