Class JsonAuditEventHandlerConfiguration.EventBufferingConfiguration

    • Constructor Detail

      • EventBufferingConfiguration

        public EventBufferingConfiguration()
    • Method Detail

      • getMaxSize

        public int getMaxSize()
        Gets the buffer capacity, which are the maximum number of events that can be buffered.
        Returns:
        buffer capacity
      • setMaxSize

        public void setMaxSize​(int maxSize)
        Sets the buffer capacity, which are the maximum number of events that can be buffered.
        Parameters:
        maxSize - buffer capacity
      • getWriteInterval

        public String getWriteInterval()
        Gets delay after which the file-writer thread is scheduled to run after encountering an empty event buffer (units of 'ms' are recommended).
        Returns:
        Interval (e.g., "20 millis")
      • setWriteInterval

        public void setWriteInterval​(String writeInterval)
        Sets delay after which the file-writer thread is scheduled to run after encountering an empty event buffer (units of 'ms' are recommended).
        Parameters:
        writeInterval - Interval (e.g., "20 millis")