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.Lockable
public boolean requestCompatible(java.lang.Object requestedQualifier, java.lang.Object grantedQualifier)
requestCompatible
in interface org.apache.derby.iapi.services.locks.Lockable
public boolean lockerAlwaysCompatible()
lockerAlwaysCompatible
in interface org.apache.derby.iapi.services.locks.Lockable
public void unlockEvent(org.apache.derby.iapi.services.locks.Latch lockInfo)
unlockEvent
in interface org.apache.derby.iapi.services.locks.Lockable
public boolean lockAttributes(int flag, java.util.Hashtable t)
lockAttributes
in interface org.apache.derby.iapi.services.locks.Lockable
Apache Derby V10.13 Internals - Copyright © 2004,2016 The Apache Software Foundation. All Rights Reserved.