public static enum FixedChannelPool.AcquireTimeoutAction extends java.lang.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(java.lang.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(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 nullCopyright © 2008–2018 The Netty Project. All rights reserved.