Serializable
, Comparable<AQDequeueOptions.VisibilityOption>
public static enum AQDequeueOptions.VisibilityOption extends Enum<AQDequeueOptions.VisibilityOption>
Enum Constant | Description |
---|---|
IMMEDIATE |
The dequeue operation is not part of the current transaction.
|
ON_COMMIT |
The dequeue operation will be part of the current transaction.
|
Modifier and Type | Method | Description |
---|---|---|
int |
getCode() |
Implementation detail (for internal use only).
|
static AQDequeueOptions.VisibilityOption |
valueOf(String name) |
Returns the enum constant of this type with the specified name.
|
static AQDequeueOptions.VisibilityOption[] |
values() |
Returns an array containing the constants of this enum type, in the order they are declared.
|
public static final AQDequeueOptions.VisibilityOption ON_COMMIT
public static final AQDequeueOptions.VisibilityOption IMMEDIATE
public static AQDequeueOptions.VisibilityOption[] values()
for (AQDequeueOptions.VisibilityOption c : AQDequeueOptions.VisibilityOption.values()) System.out.println(c);
public static AQDequeueOptions.VisibilityOption 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 final int getCode()