public class LockType
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static LockType |
NONE
NONE is used for requesting a dirty read and does not appear in the
conflict or upgrade matrices.
|
static LockType |
RANGE_INSERT |
static LockType |
RANGE_READ |
static LockType |
RANGE_WRITE |
static LockType |
READ
Lock types.
|
static LockType |
RESTART
RESTART is used for waiting for a restart and does not appear in the
conflict or upgrade matrices.
|
static LockType |
WRITE |
Modifier and Type | Method and Description |
---|---|
boolean |
isWriteLock()
Returns true if this is a WRITE or RANGE_WRITE lock.
|
java.lang.String |
toString() |
public static final LockType READ
public static final LockType WRITE
public static final LockType RANGE_READ
public static final LockType RANGE_WRITE
public static final LockType RANGE_INSERT
public static final LockType NONE
public static final LockType RESTART
public final boolean isWriteLock()
public java.lang.String toString()
toString
in class java.lang.Object