Class SessionLock.ChildSessionIDLockCount
java.lang.Object
de.aristaflow.adept2.base.sessionmanagement.SessionLock.AbstractLockCount
de.aristaflow.adept2.base.sessionmanagement.SessionLock.ChildSessionIDLockCount
- All Implemented Interfaces:
LockCountManager<SessionToken>
- Direct Known Subclasses:
SessionLock.DownwardSubtreeLockCount,SessionLock.UpwardSubtreeLockCount
- Enclosing class:
- SessionLock
A
LockCountManager counting session tokens with an equality
based on child session IDs. This means, (child) session tokens are equal to
the very same object or a copy hereof.
This is similar to
ObjectEqualityLockCount except
that this lock count manager also treats copies of the very same session
token object as equal.
- Author:
- Ulrich Kreher
-
Constructor Summary
ConstructorsConstructorDescriptionCreates a newLockCountManagerfor session tokens, which is based on child session ID equality, that is only a specific child session token or copies of the very same object are considered equal. -
Method Summary
Methods inherited from class de.aristaflow.adept2.base.sessionmanagement.SessionLock.AbstractLockCount
decreaseAndGetLockCount, getLockOwner, hasLock, hasLocks, increaseAndGetLockCount
-
Constructor Details
-
ChildSessionIDLockCount
public ChildSessionIDLockCount()Creates a newLockCountManagerfor session tokens, which is based on child session ID equality, that is only a specific child session token or copies of the very same object are considered equal.
-