Class CyclicUserSessionRepositoryImpl

  • All Implemented Interfaces:
    CyclicUserSessionRepository<UserSession>

    public class CyclicUserSessionRepositoryImpl
    extends java.lang.Object
    implements CyclicUserSessionRepository<UserSession>
    User define repository provides the user sessions limited by maxNumberOfUsers. The take() method returns the next user define 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