public enum CdbSubscriptionSyncType extends Enum<CdbSubscriptionSyncType>
Enum Constant and Description |
---|
DONE_OPERATIONAL
This should be used when a subscription notification for
operational data has been read.
|
DONE_PRIORITY
This means that application has
acted on the subscription notification and CDB
can continue to deliver further notifications.
|
DONE_SOCKET
This means that we are done.
|
DONE_TRANSACTION
This means that CDB should not send any further notifications
to any subscribers - including ourselves -
related to the currently executing transaction.
|
Modifier and Type | Method and Description |
---|---|
int |
getValue() |
static CdbSubscriptionSyncType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CdbSubscriptionSyncType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CdbSubscriptionSyncType DONE_PRIORITY
public static final CdbSubscriptionSyncType DONE_SOCKET
public static final CdbSubscriptionSyncType DONE_TRANSACTION
public static final CdbSubscriptionSyncType DONE_OPERATIONAL
public static CdbSubscriptionSyncType[] values()
for (CdbSubscriptionSyncType c : CdbSubscriptionSyncType.values()) System.out.println(c);
public static CdbSubscriptionSyncType 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()