Uses of Interface
de.aristaflow.adept2.util.locking.LockNotification
-
Packages that use LockNotification Package Description de.aristaflow.adept2.base.sessionmanagement de.aristaflow.adept2.util.locking -
-
Uses of LockNotification in de.aristaflow.adept2.base.sessionmanagement
Constructors in de.aristaflow.adept2.base.sessionmanagement with parameters of type LockNotification Constructor Description SessionLock(LockCountManager<SessionToken> writeLockCountManager, LockCountManager<SessionToken> readLockCountManager, LockNotification<SessionToken> notification, Logger logger)Creates either a new exclusive lock or a new read/write-lock and using theLockCountManagerfor counting locks as well as comparing objects.SessionLock(LockCountManager<SessionToken> lockCountManager, LockNotification<SessionToken> notification, Logger logger)Creates a new exclusive lock using the designatedLockCountManagerfor counting locks as well as comparing objects.SessionLock(Class<? extends LockCountManager<SessionToken>> lockCountManager, boolean exclusive, LockNotification<SessionToken> notification, Logger logger)Creates either a new exclusive lock or a new read/write-lock and using the designatedLockCountManagerfor counting locks as well as comparing objects. -
Uses of LockNotification in de.aristaflow.adept2.util.locking
Classes in de.aristaflow.adept2.util.locking that implement LockNotification Modifier and Type Class Description protected static classOptimisticObjectLockManager.LockRemover<O,L>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.Fields in de.aristaflow.adept2.util.locking declared as LockNotification Modifier and Type Field Description protected LockNotification<T>ReentrantLock. notificationThe notification to call directly but atomically after locking and unlocking.Constructors in de.aristaflow.adept2.util.locking with parameters of type LockNotification Constructor Description ReentrantLock(LockCountManager<? super T> writeLockCountManager, LockCountManager<? super T> readLockCountManager, LockNotification<T> notification, Logger logger)Creates either a new exclusive lock or a new read/write-lock and using theLockCountManagerfor counting locks as well as comparing objects.ReentrantLock(LockCountManager<? super T> lockCountManager, LockNotification<T> notification, Logger logger)Creates a new exclusive lock using the designatedLockCountManagerfor counting locks as well as comparing objects.ReentrantLock(Class<? extends LockCountManager<? super T>> lockCountManager, boolean exclusive, LockNotification<T> notification, Logger logger)Creates either a new exclusive lock or a new read/write-lock and using the designatedLockCountManagerfor counting locks as well as comparing objects.ThreadLock(Class<? extends LockCountManager<Thread>> lockCountManager, boolean exclusive, LockNotification<Thread> notification, Logger logger)Creates a newThreadLockusing the designated lock count manager and the designated exclusive mode.UUIDLock(Class<? extends LockCountManager<UUID>> lockCountManager, boolean exclusive, LockNotification<UUID> notification, Logger logger)Creates a newUUIDLockusing the designated lock count manager and the designated exclusive mode.
-