Package de.aristaflow.adept2.util.locking


package de.aristaflow.adept2.util.locking
  • Class
    Description
    An AcquireLockException indicates that a lock of a specific type on an object can not be acquired since the object is already locked by another locking object (and possibly with another type of lock).
    This is similar to a normal CountDownLatch but it uses a wrapped lock for synchronising as well as a new corresponding condition for signalling.
    A LockCountManager provides the means to manage reentrant locks based on objects by counting lock acquisitions.
    This interface notifies about the state of ReentrantLocks.
    A LockCountManager counting objects using Object.equals(Object) and Object.hashCode().
    Class with convenience methods for an ObjectLockManager using the current thread for locking and using object equality for the locked objects.
    A manager for locking objects with reentrant locks whereas the locks are itself object specific.
    A manager for (optimistically) locking objects with reentrant locks whereas the locks are itself object specific.
    When unlocking an object for the last time (count is 0), this will remove the corresponding locked object from the map containing all locked objects.
    A manager for (pessimistically) locking objects with reentrant locks whereas the locks are itself object specific.
    Represents a reentrant read/write lock or exclusive lock based on objects instead of threads, for instance for locking based on objects.
    An ReleaseLockException indicates that the lock on an object can not be released since the releasing object does not have the lock.
    This class provides a reentrant read/write-lock based on threads.
    This class provides a reentrant read/write-lock based on UUIDs.