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