Class RequestLoggerSettings


  • public class RequestLoggerSettings
    extends Object
    Author:
    Jonathan Locke, Chris Turner, Eelco Hillenius, Juergen Donnerstag, Johan Compagner, Igor Vaynberg (ivaynberg), Martijn Dashorst, James Carman
    • Method Detail

      • getRecordSessionSize

        public boolean getRecordSessionSize()
        Returns:
        true if the session size is recorded. (default true)
      • getRequestsWindowSize

        public int getRequestsWindowSize()
        Returns:
        The window size of the recorded requests. (default 0)
      • isRequestLoggerEnabled

        public boolean isRequestLoggerEnabled()
        Returns:
        true if the request Logger is enabled. (default false)
      • setRecordSessionSize

        public RequestLoggerSettings setRecordSessionSize​(boolean record)
        Enable/Disable the recording of the session size for every request.
        Parameters:
        record -
        Returns:
        this object for chaining
      • setRequestsWindowSize

        public RequestLoggerSettings setRequestsWindowSize​(int size)
        Set the window of all the requests that is kept in memory for viewing. Default is 0, You can let this to 0 then only Sessions data is recorded (number of request, total time, latest size)
        Parameters:
        size -
        Returns:
        this object for chaining