Interface Control
- All Known Implementing Classes:
ActiveLock, Lock, LockControl
public interface Control
-
Method Summary
Modifier and TypeMethodDescriptionvoidaddWaiters(Map<Object, Object> waiters) getLock(CompatibilitySpace compatibilitySpace, Object qualifier) booleanisEmpty()booleanisGrantable(boolean otherWaiters, CompatibilitySpace compatibilitySpace, Object qualifier) Clone this lock for the lock table information.boolean
-
Method Details
-
getLockable
Lockable getLockable() -
getLockControl
LockControl getLockControl() -
getLock
-
shallowClone
Control shallowClone()Clone this lock for the lock table information. Objects cloned will not be altered. -
firstWaiter
ActiveLock firstWaiter() -
isEmpty
boolean isEmpty() -
unlock
-
addWaiters
-
getFirstGrant
Lock getFirstGrant() -
getGranted
List getGranted() -
getWaiting
List getWaiting() -
isGrantable
-