|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.apache.derby.iapi.store.raw.ContainerLock
public final class ContainerLock
A ContainerLock represents a qualifier that is to be used when
locking a container through a ContainerHandle.
MT - Immutable
ContainerHandle,
LockingPolicy| Field Summary | |
|---|---|
private static boolean[][] |
C_COMPAT
Container lock compatibility table. |
static int |
C_NUMBER
Number of types of container locks. |
static ContainerLock |
CIS
Container Intent Shared lock |
static ContainerLock |
CIX
Container Intent Exclusive lock |
private int |
compat
Bit mask which represents the lock types that are compatible with this lock type. |
static ContainerLock |
CS
Container Shared lock |
static ContainerLock |
CU
Container Update lock |
static ContainerLock |
CX
Container Exclusive lock |
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 |
ContainerLock(int type)
|
| Method Summary | |
|---|---|
int |
getType()
Get an integer representation of the type of the lock. |
boolean |
isCompatible(ContainerLock 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
public static final int C_NUMBER
private static final boolean[][] C_COMPAT
private static java.lang.String[] shortnames
public static final ContainerLock CIS
public static final ContainerLock CIX
public static final ContainerLock CS
public static final ContainerLock CU
public static final ContainerLock CX
| Constructor Detail |
|---|
private ContainerLock(int type)
| Method Detail |
|---|
public int getType()
public boolean isCompatible(ContainerLock granted)
public java.lang.String toString()
toString in class java.lang.Object
|
Built on Wed 2013-06-12 15:21:56+0000, from revision ??? | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||