public enum TransportConfigKey extends Enum<TransportConfigKey>
| 枚举常量和说明 |
|---|
CHANNEL_PIPELINES |
GROUP_EVENT_TYPE |
MAX_POOL_CONN |
SOCKET_CHANNEL_TYPE |
WORKERS |
| 限定符和类型 | 方法和说明 |
|---|---|
Object |
convert(Object val) |
String |
fieldName() |
static TransportConfigKey |
get(String fieldName) |
Class |
getType() |
String |
propName() |
static TransportConfigKey |
valueOf(String name)
返回带有指定名称的该类型的枚举常量。
|
static TransportConfigKey[] |
values()
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
public static final TransportConfigKey GROUP_EVENT_TYPE
public static final TransportConfigKey SOCKET_CHANNEL_TYPE
public static final TransportConfigKey WORKERS
public static final TransportConfigKey MAX_POOL_CONN
public static final TransportConfigKey CHANNEL_PIPELINES
public static TransportConfigKey[] values()
for (TransportConfigKey c : TransportConfigKey.values()) System.out.println(c);
public static TransportConfigKey valueOf(String name)
name - 要返回的枚举常量的名称。IllegalArgumentException - 如果该枚举类型没有带有指定名称的常量NullPointerException - 如果参数为空值public String propName()
public String fieldName()
public Class getType()
public static TransportConfigKey get(String fieldName)
Copyright © 2018. All rights reserved.