枚举常量和说明 |
---|
EDGE_TRIGGERED
Use
EPOLLET (edge-triggered). |
LEVEL_TRIGGERED
Do not use
EPOLLET (level-triggered). |
public static final EpollMode EDGE_TRIGGERED
EPOLLET
(edge-triggered).public static final EpollMode LEVEL_TRIGGERED
EPOLLET
(level-triggered).public static EpollMode[] values()
for (EpollMode c : EpollMode.values()) System.out.println(c);
public static EpollMode valueOf(java.lang.String name)
name
- 要返回的枚举常量的名称。java.lang.IllegalArgumentException
- 如果该枚举类型没有带有指定名称的常量,
则抛出 IllegalArgumentExceptionjava.lang.NullPointerException
- 如果参数为空值, 则抛出 NullPointerException