Interface SessionStatistics

All Known Implementing Classes:
AbstractSessionManager, HotRodSessionManager, InfinispanSessionManager

public interface SessionStatistics
Encapsulates the statistics provided by a session manager.
Author:
Paul Ferraro
  • Method Summary

    Modifier and Type
    Method
    Description
    default long
    Returns the number of active sessions.
    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.
      Returns:
      the number of active sessions.