Uses of Class
de.aristaflow.adept2.util.locking.ReentrantLock
Packages that use ReentrantLock
-
Uses of ReentrantLock in de.aristaflow.adept2.base.sessionmanagement
Subclasses of ReentrantLock in de.aristaflow.adept2.base.sessionmanagementModifier and TypeClassDescriptionclassRepresents 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.lockingModifier and TypeClassDescriptionclassThis class provides a reentrant read/write-lock based on threads.classThis class provides a reentrant read/write-lock based on UUIDs.Fields in de.aristaflow.adept2.util.locking with type parameters of type ReentrantLockModifier and TypeFieldDescriptionprotected final Constructor<? extends ReentrantLock<L>>OptimisticObjectLockManager.lockConstrThe constructor for instantiating lock implementations.protected final Constructor<? extends ReentrantLock<L>>PessimisticObjectLockManager.lockConstrThe constructor for instantiating lock implementations.protected final ConcurrentMap<O,ReentrantLock<L>> OptimisticObjectLockManager.LockRemover.objectLocksA mapping from the locked object to the corresponding lock.protected final ConcurrentMap<O,ReentrantLock<L>> OptimisticObjectLockManager.objectLocksA mapping from the locked object to the corresponding locking object.protected final 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 ReentrantLockModifier and TypeMethodDescriptionprotected 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 ReentrantLockModifier and TypeMethodDescriptionvoidLockNotification.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 ReentrantLockModifierConstructorDescriptionprotectedLockRemover(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.