Uses of Interface
de.aristaflow.adept2.util.locking.LockCountManager
-
Packages that use LockCountManager Package Description de.aristaflow.adept2.base.sessionmanagement de.aristaflow.adept2.util.locking -
-
Uses of LockCountManager in de.aristaflow.adept2.base.sessionmanagement
Classes in de.aristaflow.adept2.base.sessionmanagement that implement LockCountManager Modifier and Type Class Description static classSessionLock.AbstractLockCountALockCountManagercounting session tokens with an equality based on the UUID returned by aFunctionprovided by subclasses.static classSessionLock.ChildSessionIDLockCountALockCountManagercounting session tokens with an equality based on child session IDs.static classSessionLock.DownwardSubtreeLockCountALockCountManagerconsidering session tokens and their subsessions (but not vice versa!) as equal.static classSessionLock.SessionIdLockCountALockCountManagercounting session tokens with an equality based on their UUIDs (of the corresponding top-level session token).static classSessionLock.SessionTreePathLockCountDeprecated.This does not work as intended.static classSessionLock.SubsessionLockCountDeprecated.This does not work as intended.static classSessionLock.UpwardSubtreeLockCountALockCountManagerconsidering session tokens and their subsessions (but not vice versa!) as equal.static classSessionLock.UUIDLockCountDeprecated.UseSessionLock.SessionIdLockCountinstead.Constructors in de.aristaflow.adept2.base.sessionmanagement with parameters of type LockCountManager 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(LockCountManager<SessionToken> lockCountManager, Logger logger)Creates a new exclusive lock using the designatedLockCountManagerfor counting locks as well as comparing objects.Constructor parameters in de.aristaflow.adept2.base.sessionmanagement with type arguments of type LockCountManager Constructor Description 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.SessionLock(Class<? extends LockCountManager<SessionToken>> lockCountManager, boolean exclusive, Logger logger)Creates either a new exclusive lock or a new read/write-lock and using the designatedLockCountManagerfor counting locks as well as comparing sessions. -
Uses of LockCountManager in de.aristaflow.adept2.util.locking
Classes in de.aristaflow.adept2.util.locking that implement LockCountManager Modifier and Type Class Description classObjectEqualityLockCountFields in de.aristaflow.adept2.util.locking declared as LockCountManager Modifier and Type Field Description protected LockCountManager<? super T>ReentrantLock.Lock. lockCountManagerThe manager for counting the lock acquisitions of an object and encapsulating whether objects are equal.Fields in de.aristaflow.adept2.util.locking with type parameters of type LockCountManager Modifier and Type Field Description protected Class<? extends LockCountManager<? super L>>ObjectLockManager. lockCountManagerThe lock count manager implementation which handles the lock counts per lock.Constructors in de.aristaflow.adept2.util.locking with parameters of type LockCountManager Constructor Description Lock(LockCountManager<? super T> lockCountManager)Creates a new exclusive lock using the designatedLockCountManagerfor comparing objects.ReadLock(LockCountManager<? super T> lockCountManager)Creates a new read lock using the designatedLockCountManagerfor comparing objects.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(LockCountManager<? super T> lockCountManager, Logger logger)Creates a new exclusive lock using the designatedLockCountManagerfor counting locks as well as comparing objects.WriteLock(LockCountManager<? super T> lockCountManager)Creates a new write lock using the designatedLockCountManagerfor comparing objects.Constructor parameters in de.aristaflow.adept2.util.locking with type arguments of type LockCountManager Constructor Description ObjectLockManager(Class<? extends LockCountManager<? super L>> lockCountManager, String lockType, Logger logger)Creates a newObjectLockManagerwith the designated lock count manager providing the "equality" for the designated reentrant locks and of the designated type.OptimisticObjectLockManager(Class<? extends LockCountManager<? super L>> lockCountManager, Class<? extends ReentrantLock<L>> lock, String lockType, Logger logger)Creates a newObjectLockManagerwith the designated lock count manager providing the "equality" for the designated reentrant locks and of the designated type using optimistic locking.PessimisticObjectLockManager(Class<? extends LockCountManager<? super L>> lockCountManager, Class<? extends ReentrantLock<L>> lock, String lockType, Logger logger)Creates a newObjectLockManagerwith the designated lock count manager providing the "equality" for the designated reentrant locks and of the designated type using pessimistic locking.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.ReentrantLock(Class<? extends LockCountManager<? super T>> lockCountManager, boolean exclusive, 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.ThreadLock(Class<? extends LockCountManager<Thread>> lockCountManager, boolean exclusive, 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.UUIDLock(Class<? extends LockCountManager<UUID>> lockCountManager, boolean exclusive, Logger logger)Creates a newUUIDLockusing the designated lock count manager and the designated exclusive mode.
-