Class SessionStats

    • Method Detail

      • close

        public void close()
      • setAttributes

        public void setAttributes​(java.util.Map<java.lang.String,​java.lang.Object> attributes)
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • getInitStackTrace

        public java.lang.String getInitStackTrace()
        Specified by:
        getInitStackTrace in interface SessionMBean
        Returns:
        stack trace from where the session was acquired.
      • getAuthInfo

        public AuthInfo getAuthInfo()
        Specified by:
        getAuthInfo in interface SessionMBean
        Returns:
        AuthInfo for the user associated with the session.
      • getLoginTimeStamp

        public java.lang.String getLoginTimeStamp()
        Specified by:
        getLoginTimeStamp in interface SessionMBean
        Returns:
        time stamp from when the session was acquired.
      • getLastReadAccess

        public java.lang.String getLastReadAccess()
        Specified by:
        getLastReadAccess in interface SessionMBean
        Returns:
        time stamp from the last read access
      • getReadCount

        public long getReadCount()
        Specified by:
        getReadCount in interface SessionMBean
        Returns:
        number of read accesses
      • getReadRate

        public double getReadRate()
        Specified by:
        getReadRate in interface SessionMBean
        Returns:
        read operations per time
      • getLastWriteAccess

        public java.lang.String getLastWriteAccess()
        Specified by:
        getLastWriteAccess in interface SessionMBean
        Returns:
        time stamp from the last write access
      • getWriteCount

        public long getWriteCount()
        Specified by:
        getWriteCount in interface SessionMBean
        Returns:
        number of write accesses
      • getWriteRate

        public double getWriteRate()
        Specified by:
        getWriteRate in interface SessionMBean
        Returns:
        write operations per time
      • getLastRefresh

        public java.lang.String getLastRefresh()
        Specified by:
        getLastRefresh in interface SessionMBean
        Returns:
        time stamp from the last refresh
      • getRefreshStrategy

        public java.lang.String getRefreshStrategy()
        Specified by:
        getRefreshStrategy in interface SessionMBean
        Returns:
        description of the refresh strategy
      • getRefreshPending

        public boolean getRefreshPending()
        Specified by:
        getRefreshPending in interface SessionMBean
        Returns:
        true iff the session will be refreshed on next access.
      • getRefreshCount

        public long getRefreshCount()
        Specified by:
        getRefreshCount in interface SessionMBean
        Returns:
        number of refresh operations
      • getRefreshRate

        public double getRefreshRate()
        Specified by:
        getRefreshRate in interface SessionMBean
        Returns:
        refresh operations per time
      • getLastSave

        public java.lang.String getLastSave()
        Specified by:
        getLastSave in interface SessionMBean
        Returns:
        time stamp from the last save
      • getSaveCount

        public long getSaveCount()
        Specified by:
        getSaveCount in interface SessionMBean
        Returns:
        number of save operations
      • getSaveRate

        public double getSaveRate()
        Specified by:
        getSaveRate in interface SessionMBean
        Returns:
        save operations per time
      • getSessionAttributes

        public java.lang.String[] getSessionAttributes()
        Specified by:
        getSessionAttributes in interface SessionMBean
        Returns:
        attributes associated with the session
      • getLastFailedSave

        public java.lang.String getLastFailedSave()
        Specified by:
        getLastFailedSave in interface SessionMBean
        Returns:
        stack trace of the last exception that occurred during a save operation
      • refresh

        public void refresh()
        Description copied from interface: SessionMBean
        Refresh this session. Warning: this operation might be disruptive to the owner of this session
        Specified by:
        refresh in interface SessionMBean