org.apache.derby.impl.services.locks
Interface Control

All Known Implementing Classes:
ActiveLock, Lock, LockControl

public interface Control


Method Summary
 void addWaiters(java.util.Map waiters)
           
 ActiveLock firstWaiter()
           
 Lock getFirstGrant()
           
 java.util.List getGranted()
           
 Lock getLock(CompatibilitySpace compatibilitySpace, java.lang.Object qualifier)
           
 Lockable getLockable()
           
 LockControl getLockControl()
           
 java.util.List getWaiting()
           
 boolean isEmpty()
           
 boolean isGrantable(boolean otherWaiters, CompatibilitySpace compatibilitySpace, java.lang.Object qualifier)
           
 Control shallowClone()
          Clone this lock for the lock table information.
 boolean unlock(Latch lockInGroup, int unlockCount)
           
 

Method Detail

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)

Built on Thu 2011-03-10 11:54:14+0000, from revision ???

Apache Derby V10.6 Internals - Copyright © 2004,2007 The Apache Software Foundation. All Rights Reserved.