class T_L2
extends java.lang.Object
implements org.apache.derby.iapi.services.locks.Lockable
| Modifier and Type | Field and Description |
|---|---|
private int |
allowed |
private int[] |
counts |
private java.lang.Object[] |
lockers |
| Constructor and Description |
|---|
T_L2(int allowed) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
lockAttributes(int flag,
java.util.Hashtable t) |
boolean |
lockerAlwaysCompatible() |
void |
lockEvent(org.apache.derby.iapi.services.locks.Latch lockInfo) |
boolean |
requestCompatible(java.lang.Object requestedQualifier,
java.lang.Object grantedQualifier) |
void |
unlockEvent(org.apache.derby.iapi.services.locks.Latch lockInfo) |
private int allowed
private java.lang.Object[] lockers
private int[] counts
public void lockEvent(org.apache.derby.iapi.services.locks.Latch lockInfo)
lockEvent in interface org.apache.derby.iapi.services.locks.Lockablepublic boolean requestCompatible(java.lang.Object requestedQualifier,
java.lang.Object grantedQualifier)
requestCompatible in interface org.apache.derby.iapi.services.locks.Lockablepublic boolean lockerAlwaysCompatible()
lockerAlwaysCompatible in interface org.apache.derby.iapi.services.locks.Lockablepublic void unlockEvent(org.apache.derby.iapi.services.locks.Latch lockInfo)
unlockEvent in interface org.apache.derby.iapi.services.locks.Lockablepublic boolean lockAttributes(int flag,
java.util.Hashtable t)
lockAttributes in interface org.apache.derby.iapi.services.locks.LockableApache Derby V10.10 Internals - Copyright © 2004,2014 The Apache Software Foundation. All Rights Reserved.