public enum SendStatus extends java.lang.Enum<SendStatus>
Enum Constant and Description |
---|
FLUSH_DISK_TIMEOUT |
FLUSH_SLAVE_TIMEOUT |
SEND_OK |
SLAVE_NOT_AVAILABLE |
Modifier and Type | Method and Description |
---|---|
static SendStatus |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static SendStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SendStatus SEND_OK
public static final SendStatus FLUSH_DISK_TIMEOUT
public static final SendStatus FLUSH_SLAVE_TIMEOUT
public static final SendStatus SLAVE_NOT_AVAILABLE
public static SendStatus[] values()
for (SendStatus c : SendStatus.values()) System.out.println(c);
public static SendStatus 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