Interface SessionMBean


  • @ProviderType
    public interface SessionMBean
    MBean providing basic Session information and statistics.
    • Method Detail

      • getInitStackTrace

        java.lang.String getInitStackTrace()
        Returns:
        stack trace from where the session was acquired.
      • getAuthInfo

        AuthInfo getAuthInfo()
        Returns:
        AuthInfo for the user associated with the session.
      • getLoginTimeStamp

        java.lang.String getLoginTimeStamp()
        Returns:
        time stamp from when the session was acquired.
      • getLastReadAccess

        java.lang.String getLastReadAccess()
        Returns:
        time stamp from the last read access
      • getReadCount

        long getReadCount()
        Returns:
        number of read accesses
      • getReadRate

        double getReadRate()
        Returns:
        read operations per time
      • getLastWriteAccess

        java.lang.String getLastWriteAccess()
        Returns:
        time stamp from the last write access
      • getWriteCount

        long getWriteCount()
        Returns:
        number of write accesses
      • getWriteRate

        double getWriteRate()
        Returns:
        write operations per time
      • getLastRefresh

        java.lang.String getLastRefresh()
        Returns:
        time stamp from the last refresh
      • getRefreshStrategy

        java.lang.String getRefreshStrategy()
        Returns:
        description of the refresh strategy
      • getRefreshPending

        boolean getRefreshPending()
        Returns:
        true iff the session will be refreshed on next access.
      • getRefreshCount

        long getRefreshCount()
        Returns:
        number of refresh operations
      • getRefreshRate

        double getRefreshRate()
        Returns:
        refresh operations per time
      • getLastSave

        java.lang.String getLastSave()
        Returns:
        time stamp from the last save
      • getSaveCount

        long getSaveCount()
        Returns:
        number of save operations
      • getSaveRate

        double getSaveRate()
        Returns:
        save operations per time
      • getSessionAttributes

        java.lang.String[] getSessionAttributes()
        Returns:
        attributes associated with the session
      • getLastFailedSave

        java.lang.String getLastFailedSave()
        Returns:
        stack trace of the last exception that occurred during a save operation
      • refresh

        void refresh()
        Refresh this session. Warning: this operation might be disruptive to the owner of this session