public enum ThreadMessage extends Enum<ThreadMessage>
| Enum Constant and Description |
|---|
Commit
Commit the message
|
Go
Go on reading data
|
Rollback
Error
|
| Modifier and Type | Method and Description |
|---|---|
static ThreadMessage |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ThreadMessage[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ThreadMessage Go
public static final ThreadMessage Commit
public static final ThreadMessage Rollback
public static ThreadMessage[] values()
for (ThreadMessage c : ThreadMessage.values()) System.out.println(c);
public static ThreadMessage 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 nullCopyright © 2015. All rights reserved.