Class SyslogAuditEventHandlerConfiguration.EventBufferingConfiguration
java.lang.Object
org.forgerock.audit.handlers.syslog.SyslogAuditEventHandlerConfiguration.EventBufferingConfiguration
- Enclosing class:
- SyslogAuditEventHandlerConfiguration
Configuration of event buffering.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
Gets the buffer capacity, which are the maximum number of events that can be buffered.boolean
Indicates if event buffering is enabled.void
setEnabled
(boolean enabled) Sets the buffering status.void
setMaxSize
(int maxSize) Sets the buffer capacity, which are the maximum number of events that can be buffered.
-
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
-