Enum AQDequeueOptions.DequeueMode

  • <section role="region">
    • Enum Constant Detail

      • BROWSE

        public static final AQDequeueOptions.DequeueMode BROWSE
        Read the message without acquiring any lock on the message. This is equivalent to a SELECT statement.
      • LOCKED

        public static final AQDequeueOptions.DequeueMode LOCKED
        Read and obtain a write lock on the message. The lock lasts for the duration of the transaction. This is equivalent to a SELECT FOR UPDATE statement.
      • REMOVE

        public static final AQDequeueOptions.DequeueMode REMOVE
        Read the message and update or delete it. This is the default. Note that the message can be retained in the queue table based on the retention properties.

        public static final AQDequeueOptions.DequeueMode REMOVE_NODATA
        Confirm receipt of the message, but do not deliver the actual message content.
    </section> <section role="region">
    • Method Detail

      • values

        public static AQDequeueOptions.DequeueMode[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (AQDequeueOptions.DequeueMode c : AQDequeueOptions.DequeueMode.values())
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

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

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