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 Summary
Constructors Constructor Description EventBufferingConfiguration()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getMaxSize()
Gets the buffer capacity, which are the maximum number of events that can be buffered.boolean
isEnabled()
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.
-
-
-
Method Detail
-
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
-
-