public enum CdbNotificationType extends Enum<CdbNotificationType>
Enum Constant and Description |
---|
SUB_ABORT
Notification on aborted transaction
|
SUB_COMMIT
Notification on transaction in commit state
|
SUB_OPER
Notification
|
SUB_PREPARE
Notification on transaction in prepare state
|
Modifier and Type | Method and Description |
---|---|
int |
getValue() |
static CdbNotificationType |
valueOf(int i) |
static CdbNotificationType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CdbNotificationType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CdbNotificationType SUB_PREPARE
public static final CdbNotificationType SUB_COMMIT
public static final CdbNotificationType SUB_ABORT
public static final CdbNotificationType SUB_OPER
public static CdbNotificationType[] values()
for (CdbNotificationType c : CdbNotificationType.values()) System.out.println(c);
public static CdbNotificationType 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 getValue()
public static CdbNotificationType valueOf(int i)