public enum PollerType extends Enum<PollerType>
Enum Constant and Description |
---|
POLL_ERROR |
POLL_IN |
POLL_OUT |
Modifier and Type | Method and Description |
---|---|
int |
getType()
The integer representation of this poller type.
|
static PollerType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PollerType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PollerType POLL_IN
public static final PollerType POLL_OUT
public static final PollerType POLL_ERROR
public static PollerType[] values()
for (PollerType c : PollerType.values()) System.out.println(c);
public static PollerType 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 nullpublic int getType()
Copyright © 2019. All rights reserved.