public static enum FixedChannelPool.AcquireTimeoutAction extends Enum<FixedChannelPool.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 FixedChannelPool.AcquireTimeoutAction |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static FixedChannelPool.AcquireTimeoutAction[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FixedChannelPool.AcquireTimeoutAction NEW
public static final FixedChannelPool.AcquireTimeoutAction FAIL
Future
of the acquire call with a TimeoutException
.public static FixedChannelPool.AcquireTimeoutAction[] values()
for (FixedChannelPool.AcquireTimeoutAction c : FixedChannelPool.AcquireTimeoutAction.values()) System.out.println(c);
public static FixedChannelPool.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 © 2008–2024 The Netty Project. All rights reserved.