Package com.tailf.cdb

Enum Class CdbSubscriptionType

Object
Enum<CdbSubscriptionType>
com.tailf.cdb.CdbSubscriptionType
All Implemented Interfaces:
Serializable, Comparable<CdbSubscriptionType>, Constable

public enum CdbSubscriptionType extends Enum<CdbSubscriptionType>
Subscription type used in subscribe() method
  • Enum Constant Details

    • SUB_RUNNING

      public static final CdbSubscriptionType SUB_RUNNING
      Setup subscription in the running database
    • SUB_RUNNING_TWOPHASE

      public static final CdbSubscriptionType SUB_RUNNING_TWOPHASE
      Setup subscription for both prepare and commit states of transactions in the running database
    • SUB_OPERATIONAL

      public static final CdbSubscriptionType SUB_OPERATIONAL
      Setup subscription in the operational database
  • Method Details

    • values

      public static CdbSubscriptionType[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static CdbSubscriptionType valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • getValue

      public int getValue()