Enum Class AQEnqueueOptions.DeliveryMode

java.lang.Object
java.lang.Enum<AQEnqueueOptions.DeliveryMode>
oracle.jdbc.aq.AQEnqueueOptions.DeliveryMode
All Implemented Interfaces:
Serializable, Comparable<AQEnqueueOptions.DeliveryMode>, Constable
Enclosing class:
AQEnqueueOptions

public static enum AQEnqueueOptions.DeliveryMode extends Enum<AQEnqueueOptions.DeliveryMode>
  • Enum Constant Details

    • PERSISTENT

      public static final AQEnqueueOptions.DeliveryMode PERSISTENT
      The message is enqueued in a persistent manner (default).
    • BUFFERED

      public static final AQEnqueueOptions.DeliveryMode BUFFERED
      The message will be buffered (resides in memory in the server which is faster but less reliable in case of a server crash).
  • Method Details

    • values

      public static AQEnqueueOptions.DeliveryMode[] 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 AQEnqueueOptions.DeliveryMode 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
    • getCode

      public final int getCode()
      Implementation detail (for internal use only).