public static enum SyncdDevice.ShutdownReason extends java.lang.Enum<SyncdDevice.ShutdownReason>
SyncdDevice.ShutdownReason
indicates the health of the shutdown of the device.Enum Constant and Description |
---|
ABNORMAL
The device shutdown abnormally, and we don't know anything about when it might
be useful to try to communicate with it again.
|
ABNORMAL_ATTEMPT_REOPEN
The device shutdown abnormally, but due to a temporary circumstance (such as ESD)
that we believe might be recoverable from after a brief interval
|
NORMAL
The device shutdown normally
|
Modifier and Type | Method and Description |
---|---|
static SyncdDevice.ShutdownReason |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static SyncdDevice.ShutdownReason[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SyncdDevice.ShutdownReason NORMAL
public static final SyncdDevice.ShutdownReason ABNORMAL
public static final SyncdDevice.ShutdownReason ABNORMAL_ATTEMPT_REOPEN
SyncdDevice.msAbnormalReopenInterval
public static SyncdDevice.ShutdownReason[] values()
for (SyncdDevice.ShutdownReason c : SyncdDevice.ShutdownReason.values()) System.out.println(c);
public static SyncdDevice.ShutdownReason valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null