org.apache.derby.impl.services.locks
Interface Control
- All Known Implementing Classes:
- ActiveLock, Lock, LockControl
public interface Control
getLockable
Lockable getLockable()
getLockControl
LockControl getLockControl()
getLock
Lock getLock(CompatibilitySpace compatibilitySpace,
java.lang.Object qualifier)
shallowClone
Control shallowClone()
- Clone this lock for the lock table information.
Objects cloned will not be altered.
firstWaiter
ActiveLock firstWaiter()
isEmpty
boolean isEmpty()
unlock
boolean unlock(Latch lockInGroup,
int unlockCount)
addWaiters
void addWaiters(java.util.Map waiters)
getFirstGrant
Lock getFirstGrant()
getGranted
java.util.List getGranted()
getWaiting
java.util.List getWaiting()
isGrantable
boolean isGrantable(boolean otherWaiters,
CompatibilitySpace compatibilitySpace,
java.lang.Object qualifier)
Apache Derby V10.6 Internals - Copyright © 2004,2007 The Apache Software Foundation. All Rights Reserved.