|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.derby.iapi.store.raw.RowLock
public final class RowLock
A RowLock represents a qualifier that is to be used when
locking a Row through a RecordHandle.
MT - Immutable
RecordHandle
,
LockingPolicy
Field Summary | |
---|---|
private int |
compat
Bit mask which represents the lock types that are compatible with this lock type. |
static java.lang.String |
DIAG_CONGLOMID
|
static java.lang.String |
DIAG_CONTAINERID
|
static java.lang.String |
DIAG_COUNT
|
static java.lang.String |
DIAG_GROUP
|
static java.lang.String |
DIAG_INDEX
|
static java.lang.String |
DIAG_LOCKMODE
|
static java.lang.String |
DIAG_LOCKTYPE
|
static java.lang.String |
DIAG_PAGENUM
|
static java.lang.String |
DIAG_RECID
|
static java.lang.String |
DIAG_SEGMENTID
|
static java.lang.String |
DIAG_STATE
|
static java.lang.String |
DIAG_XACTID
|
private static boolean[][] |
R_COMPAT
Row lock compatibility table. |
static int |
R_NUMBER
Number of row locks. |
static RowLock |
RI
|
static RowLock |
RIP
|
static RowLock |
RS2
|
static RowLock |
RS3
|
static RowLock |
RU2
|
static RowLock |
RU3
|
static RowLock |
RX2
|
static RowLock |
RX3
|
private static java.lang.String[] |
shortnames
|
private int |
type
Integer representation of the type of the lock. |
private int |
typeBit
Bit mask with one bit set. |
Constructor Summary | |
---|---|
private |
RowLock(int type)
|
Method Summary | |
---|---|
int |
getType()
Get an integer representation of the type of the lock. |
boolean |
isCompatible(RowLock granted)
|
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
private final int type
private final int typeBit
private final int compat
private static final java.lang.String[] shortnames
public static final int R_NUMBER
private static final boolean[][] R_COMPAT
public static final RowLock RS2
public static final RowLock RS3
public static final RowLock RU2
public static final RowLock RU3
public static final RowLock RIP
public static final RowLock RI
public static final RowLock RX2
public static final RowLock RX3
public static final java.lang.String DIAG_INDEX
public static final java.lang.String DIAG_XACTID
public static final java.lang.String DIAG_LOCKTYPE
public static final java.lang.String DIAG_LOCKMODE
public static final java.lang.String DIAG_CONGLOMID
public static final java.lang.String DIAG_CONTAINERID
public static final java.lang.String DIAG_SEGMENTID
public static final java.lang.String DIAG_PAGENUM
public static final java.lang.String DIAG_RECID
public static final java.lang.String DIAG_COUNT
public static final java.lang.String DIAG_GROUP
public static final java.lang.String DIAG_STATE
Constructor Detail |
---|
private RowLock(int type)
Method Detail |
---|
public int getType()
public boolean isCompatible(RowLock granted)
public java.lang.String toString()
toString
in class java.lang.Object
|
Built on Thu 2010-12-23 20:49:13+0000, from revision ??? | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |