Class SessionTable


  • public class SessionTable
    extends Object
    General information about the sessions and detailed information about each session.
    • Constructor Detail

      • SessionTable

        public SessionTable()
    • Method Detail

      • getActiveSessions

        @Nullable
        public @Nullable Long getActiveSessions()
        Total number of active sessions.
        Returns:
        activeSessions
      • setActiveSessions

        public void setActiveSessions​(Long activeSessions)
      • expiredSessions

        public SessionTable expiredSessions​(Long expiredSessions)
      • getExpiredSessions

        @Nullable
        public @Nullable Long getExpiredSessions()
        Total number of expired sessions.
        Returns:
        expiredSessions
      • setExpiredSessions

        public void setExpiredSessions​(Long expiredSessions)
      • getSessionCount

        @Nullable
        public @Nullable Long getSessionCount()
        Total number of sessions.
        Returns:
        sessionCount
      • setSessionCount

        public void setSessionCount​(Long sessionCount)
      • sessionDiskUsage

        public SessionTable sessionDiskUsage​(Long sessionDiskUsage)
      • getSessionDiskUsage

        @Nullable
        public @Nullable Long getSessionDiskUsage()
        Total size in bytes required by all sessions together on the hard disk in the base folder.
        Returns:
        sessionDiskUsage
      • setSessionDiskUsage

        public void setSessionDiskUsage​(Long sessionDiskUsage)
      • getSessionFolder

        @Nullable
        public @Nullable String getSessionFolder()
        Base folder for all session data (e.g. files and file history).
        Returns:
        sessionFolder
      • setSessionFolder

        public void setSessionFolder​(String sessionFolder)
      • getSessionId

        @Nullable
        public @Nullable String getSessionId()
        Session ID of the session that requested the session table.
        Returns:
        sessionId
      • setSessionId

        public void setSessionId​(String sessionId)
      • getSessionList

        @Nullable
        public @Nullable List<SessionTableEntry> getSessionList()
        List of all sessions and detailed information about each session.
        Returns:
        sessionList
      • getTimestamp

        @Nullable
        public @Nullable Long getTimestamp()
        UTC time when the query was executed.
        Returns:
        timestamp
      • setTimestamp

        public void setTimestamp​(Long timestamp)
      • unstableSessions

        public SessionTable unstableSessions​(Long unstableSessions)
      • getUnstableSessions

        @Nullable
        public @Nullable Long getUnstableSessions()
        Total number of sessions that have not yet been initialized or are currently expiring.
        Returns:
        unstableSessions
      • setUnstableSessions

        public void setUnstableSessions​(Long unstableSessions)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object