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

public static class SessionLock.ChildSessionIDLockCount extends SessionLock.AbstractLockCount
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 Details

    • ChildSessionIDLockCount

      public ChildSessionIDLockCount()
      Creates a new LockCountManager for 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.