Enum Constant and Description |
---|
DEFAULT
Acquire read locks for read operations and write locks for write
operations.
|
READ_COMMITTED
Read committed isolation provides for cursor stability but not
repeatable reads.
|
READ_UNCOMMITTED
Read modified but not yet committed data.
|
RMW
Acquire write locks instead of read locks when doing the retrieval.
|
Modifier and Type | Method and Description |
---|---|
static SLockMode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static SLockMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SLockMode DEFAULT
public static final SLockMode READ_COMMITTED
public static final SLockMode READ_UNCOMMITTED
public static final SLockMode RMW
public static SLockMode[] values()
for (SLockMode c : SLockMode.values()) System.out.println(c);
public static SLockMode valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullCopyright (c) 2016, 2019 Oracle and/or its affiliates. All rights reserved.