Interface SessionMBean


@ProviderType public interface SessionMBean
MBean providing basic Session information and statistics.
  • Field Details

  • Method Details

    • getInitStackTrace

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

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

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

      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

      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

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

      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

      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

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

      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