public static enum HostProbingEvent.Type extends Enum<HostProbingEvent.Type>
Enum Constant and Description |
---|
PROBE_COMPLETED
Probe has been complete normally.
|
PROBE_FAIL
Probe timed out and reach max retry.
|
PROBE_REQUESTED
Probe has been requested.
|
PROBE_TIMEOUT
Probe timed out but still have not reach max retry.
|
Modifier and Type | Method and Description |
---|---|
static HostProbingEvent.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static HostProbingEvent.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final HostProbingEvent.Type PROBE_REQUESTED
public static final HostProbingEvent.Type PROBE_TIMEOUT
public static final HostProbingEvent.Type PROBE_FAIL
public static final HostProbingEvent.Type PROBE_COMPLETED
public static HostProbingEvent.Type[] values()
for (HostProbingEvent.Type c : HostProbingEvent.Type.values()) System.out.println(c);
public static HostProbingEvent.Type 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 null