Interface RequestLoggerMBean

    • Method Detail

      • getNumberOfCreatedSessions

        Integer getNumberOfCreatedSessions()
                                    throws IOException
        Total number of sessions ever created since the application was started.

        Only available for web applications.

        Returns:
        the total number of sessions ever created since the application was started
        Throws:
        IOException
      • getPeakNumberOfSessions

        Integer getPeakNumberOfSessions()
                                 throws IOException
        The largest number of concurrent sessions since the application was started.

        Only available for web applications.

        Returns:
        the largest number of concurrent sessions since the application was started
        Throws:
        IOException
      • restart

        void restart()
              throws IOException
        Registers a new request logger at the application. You need a request logger for some functions of the session bean. Be aware that sessions will be logged from this time on, so they may not reflect the actual number of sessions. Also, if one was registered, it will be replaced by a new one, which then starts over counting, disregarding the current ones.

        Only available for web applications.

        Throws:
        IOException
      • stop

        void stop()
           throws IOException
        Removes any set request logger from the application. You need a request logger for some functions of the session bean.

        Only available for web applications.

        Throws:
        IOException