Package oracle.jdbc.aq
Enum Class AQDequeueOptions.DequeueMode
- All Implemented Interfaces:
Serializable,Comparable<AQDequeueOptions.DequeueMode>,Constable
- Enclosing class:
- AQDequeueOptions
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionRead the message without acquiring any lock on the message.Read and obtain a write lock on the message.Read the message and update or delete it.Confirm receipt of the message, but do not deliver the actual message content. -
Method Summary
Modifier and TypeMethodDescriptionfinal intgetCode()Implementation detail (for internal use only).static AQDequeueOptions.DequeueModeReturns the enum constant of this class with the specified name.static AQDequeueOptions.DequeueMode[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
BROWSE
Read the message without acquiring any lock on the message. This is equivalent to a SELECT statement. -
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
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. -
REMOVE_NODATA
Confirm receipt of the message, but do not deliver the actual message content.
-
-
Method Details
-
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
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 nameNullPointerException- if the argument is null
-
getCode
public final int getCode()Implementation detail (for internal use only).
-