Class SyslogAuditEventHandlerConfiguration.EventBufferingConfiguration
java.lang.Object
org.forgerock.audit.handlers.syslog.SyslogAuditEventHandlerConfiguration.EventBufferingConfiguration
- Enclosing class:
- SyslogAuditEventHandlerConfiguration
Configuration of event buffering.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintGets the buffer capacity, which are the maximum number of events that can be buffered.booleanIndicates if event buffering is enabled.voidsetEnabled(boolean enabled) Sets the buffering status.voidsetMaxSize(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:
trueif 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
-