Uses of Class
de.aristaflow.adept2.util.locking.ReentrantLock
-
Packages that use ReentrantLock Package Description de.aristaflow.adept2.base.sessionmanagement de.aristaflow.adept2.util.locking -
-
Uses of ReentrantLock in de.aristaflow.adept2.base.sessionmanagement
Subclasses of ReentrantLock in de.aristaflow.adept2.base.sessionmanagement Modifier and Type Class Description classSessionLockRepresents a reentrant read/write lock or exclusive lock based on session token. -
Uses of ReentrantLock in de.aristaflow.adept2.util.locking
Subclasses of ReentrantLock in de.aristaflow.adept2.util.locking Modifier and Type Class Description classThreadLockThis class provides a reentrant read/write-lock based on threads.classUUIDLockThis class provides a reentrant read/write-lock based on UUIDs.Fields in de.aristaflow.adept2.util.locking with type parameters of type ReentrantLock Modifier and Type Field Description protected Constructor<? extends ReentrantLock<L>>OptimisticObjectLockManager. lockConstrThe constructor for instantiating lock implementations.protected Constructor<? extends ReentrantLock<L>>PessimisticObjectLockManager. lockConstrThe constructor for instantiating lock implementations.protected ConcurrentMap<O,ReentrantLock<L>>OptimisticObjectLockManager.LockRemover. objectLocksA mapping from the locked object to the corresponding lock.protected ConcurrentMap<O,ReentrantLock<L>>OptimisticObjectLockManager. objectLocksA mapping from the locked object to the corresponding locking object.protected Map<O,ReentrantLock<L>>PessimisticObjectLockManager. objectLocksA mapping from the locked object to the corresponding locking object.Methods in de.aristaflow.adept2.util.locking that return ReentrantLock Modifier and Type Method Description protected abstract ReentrantLock<L>ObjectLockManager. getObjectLock(O lockedObject)Gets the lock for the designated object.protected ReentrantLock<L>OptimisticObjectLockManager. getObjectLock(O lockedObject)protected ReentrantLock<L>PessimisticObjectLockManager. getObjectLock(O lockedObject)Methods in de.aristaflow.adept2.util.locking with parameters of type ReentrantLock Modifier and Type Method Description voidLockNotification. locked(ReentrantLock<T> reLock, boolean writeLock, T lockingObject, int lockCount)Signals that the designated reentrant lock has been locked by the designated object for the designated number of times.voidOptimisticObjectLockManager.LockRemover. locked(ReentrantLock<L> reLock, boolean writeLock, L lockingObject, int lockCount)voidLockNotification. unlocked(ReentrantLock<T> reLock, boolean writeLock, boolean isLocked, boolean waitersForLock, T lockingObject, int lockCount)Signals that the designated reentrant lock has been unlocked and provides the number of times the lock is still held by the designated object.voidOptimisticObjectLockManager.LockRemover. unlocked(ReentrantLock<L> reLock, boolean writeLock, boolean isLocked, boolean waitersForLock, L lockingObject, int lockCount)Constructor parameters in de.aristaflow.adept2.util.locking with type arguments of type ReentrantLock Constructor Description LockRemover(ConcurrentMap<O,ReentrantLock<L>> objectLocks, O lockedObject, Logger logger)Creates a new remover for removing the lock from the internal map containing all locked objects.
-