Interface Control
- All Known Implementing Classes:
ActiveLock
,Lock
,LockControl
public interface Control
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addWaiters
(Map<Object, Object> waiters) getLock
(CompatibilitySpace compatibilitySpace, Object qualifier) boolean
isEmpty()
boolean
isGrantable
(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
-