Interface Control

All Known Implementing Classes:
ActiveLock, Lock, LockControl

public interface Control
  • Method Details

    • getLockable

      Lockable getLockable()
    • getLockControl

      LockControl getLockControl()
    • getLock

      Lock getLock(CompatibilitySpace compatibilitySpace, 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(Map<Object,Object> waiters)
    • getFirstGrant

      Lock getFirstGrant()
    • getGranted

      List getGranted()
    • getWaiting

      List getWaiting()
    • isGrantable

      boolean isGrantable(boolean otherWaiters, CompatibilitySpace compatibilitySpace, Object qualifier)