Class CyclicUserSessionRepositoryImpl

  • All Implemented Interfaces:
    CyclicUserSessionRepository<UserSession>

    public class CyclicUserSessionRepositoryImpl
    extends java.lang.Object
    implements CyclicUserSessionRepository<UserSession>
    User session repository provides the user sessions limited by maxNumberOfUsers. The take() method returns the next user session in the backing collection. Once all elements in the collection are returned, the cyclic iterator starts from the beginning.

    Since:
    1.1.0
    Author:
    Erhan Bagdemir