public enum CdbSubscriptionType extends Enum<CdbSubscriptionType>
Enum Constant and Description |
---|
SUB_OPERATIONAL
Setup subscription in the operational database
|
SUB_RUNNING
Setup subscription in the running database
|
SUB_RUNNING_TWOPHASE
Setup subscription for both prepare and commit states of transactions in
the running database
|
Modifier and Type | Method and Description |
---|---|
int |
getValue() |
static CdbSubscriptionType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CdbSubscriptionType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CdbSubscriptionType SUB_OPERATIONAL
public static final CdbSubscriptionType SUB_RUNNING
public static final CdbSubscriptionType SUB_RUNNING_TWOPHASE
public int getValue()
public static CdbSubscriptionType 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 static CdbSubscriptionType[] values()
for (CdbSubscriptionType c : CdbSubscriptionType.values()) System.out.println(c);