Interface SessionStatistics


public interface SessionStatistics
Author:
Paul Ferraro
  • Method Summary

    Modifier and Type
    Method
    Description
    default long
     
    Returns the identifiers of active sessions managed by this session manager.
    Returns the identifiers of all sessions managed by this session manager, including passive sessions.
  • Method Details

    • getActiveSessions

      Set<String> getActiveSessions()
      Returns the identifiers of active sessions managed by this session manager.
      Returns:
      a set of session identifiers.
    • getSessions

      Set<String> getSessions()
      Returns the identifiers of all sessions managed by this session manager, including passive sessions.
      Returns:
      a set of session identifiers.
    • getActiveSessionCount

      default long getActiveSessionCount()
      Returns:
      The number of active sessions