public enum ChannelPoolType extends Enum<ChannelPoolType>
NettyChannelPool
implementation to use.Enum Constant and Description |
---|
ADAPTIVE
An unbounded channel pool implementation.
|
FIXED
A bounded channel pool implementation.
|
Modifier and Type | Method and Description |
---|---|
static ChannelPoolType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ChannelPoolType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ChannelPoolType ADAPTIVE
SimpleNettyChannelPool
,
NettyChannelPool
public static final ChannelPoolType FIXED
FixedNettyChannelPool
,
NettyChannelPool
public static ChannelPoolType[] values()
for (ChannelPoolType c : ChannelPoolType.values()) System.out.println(c);
public static ChannelPoolType 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.