| Package | Description |
|---|---|
| de.aristaflow.adept2.base.sessionmanagement | |
| de.aristaflow.adept2.util.locking |
| Constructor and Description |
|---|
SessionLock(java.lang.Class<? extends LockCountManager<SessionToken>> lockCountManager,
boolean exclusive,
LockNotification<SessionToken> notification,
java.util.logging.Logger logger)
Creates either a new exclusive lock or a new read/write-lock and using the
designated
LockCountManager for counting locks as well as
comparing objects. |
SessionLock(LockCountManager<SessionToken> writeLockCountManager,
LockCountManager<SessionToken> readLockCountManager,
LockNotification<SessionToken> notification,
java.util.logging.Logger logger)
Creates either a new exclusive lock or a new read/write-lock and using the
LockCountManager for counting locks as well as comparing
objects. |
SessionLock(LockCountManager<SessionToken> lockCountManager,
LockNotification<SessionToken> notification,
java.util.logging.Logger logger)
Creates a new exclusive lock using the designated
LockCountManager for counting locks as well as comparing
objects. |
| Modifier and Type | Class and Description |
|---|---|
protected static class |
OptimisticObjectLockManager.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.
|
| Modifier and Type | Field and Description |
|---|---|
protected LockNotification<T> |
ReentrantLock.notification
The notification to call directly but atomically after locking and
unlocking.
|
| Constructor and Description |
|---|
ReentrantLock(java.lang.Class<? extends LockCountManager<? super T>> lockCountManager,
boolean exclusive,
LockNotification<T> notification,
java.util.logging.Logger logger)
Creates either a new exclusive lock or a new read/write-lock and using the
designated
LockCountManager for counting locks as well as
comparing objects. |
ReentrantLock(LockCountManager<? super T> writeLockCountManager,
LockCountManager<? super T> readLockCountManager,
LockNotification<T> notification,
java.util.logging.Logger logger)
Creates either a new exclusive lock or a new read/write-lock and using the
LockCountManager for counting locks as well as comparing
objects. |
ReentrantLock(LockCountManager<? super T> lockCountManager,
LockNotification<T> notification,
java.util.logging.Logger logger)
Creates a new exclusive lock using the designated
LockCountManager for counting locks as well as comparing
objects. |
ThreadLock(java.lang.Class<? extends LockCountManager<java.lang.Thread>> lockCountManager,
boolean exclusive,
LockNotification<java.lang.Thread> notification,
java.util.logging.Logger logger)
Creates a new
ThreadLock using the designated lock count
manager and the designated exclusive mode. |
UUIDLock(java.lang.Class<? extends LockCountManager<java.util.UUID>> lockCountManager,
boolean exclusive,
LockNotification<java.util.UUID> notification,
java.util.logging.Logger logger)
Creates a new
UUIDLock using the designated lock count manager
and the designated exclusive mode. |