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