Class SyslogAuditEventHandlerConfiguration.EventBufferingConfiguration

java.lang.Object
org.forgerock.audit.handlers.syslog.SyslogAuditEventHandlerConfiguration.EventBufferingConfiguration
Enclosing class:
SyslogAuditEventHandlerConfiguration

public static class SyslogAuditEventHandlerConfiguration.EventBufferingConfiguration extends Object
Configuration of event buffering.
  • Constructor Details

    • EventBufferingConfiguration

      public EventBufferingConfiguration()
  • Method Details

    • isEnabled

      public boolean isEnabled()
      Indicates if event buffering is enabled.
      Returns:
      true if buffering is enabled.
    • setEnabled

      public void setEnabled(boolean enabled)
      Sets the buffering status.
      Parameters:
      enabled - Indicates if buffering is enabled.
    • 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