Class SessionMaxStats

  • All Implemented Interfaces:
    StatsListener

    @Singleton
    public class SessionMaxStats
    extends Object
    implements StatsListener
    SessionMaxStats implements the StatsListener and provides the information of the total number of sessions in the session table and the number of active sessions in the table.
    • Constructor Detail

      • SessionMaxStats

        @Inject
        public SessionMaxStats​(SessionAccessManager sessionAccessManager,
                               SessionNotificationSender sessionNotificationSender,
                               Stats stats)
        Creates a new SessionMaxStats
        Parameters:
        sessionAccessManager - session accessManagement
        sessionNotificationSender -
        stats -
    • Method Detail

      • printStats

        public void printStats()
        Prints the session statistics for the given session table.
        Specified by:
        printStats in interface StatsListener