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 intgetMaxSize()Gets the buffer capacity, which are the maximum number of events that can be buffered.booleanisEnabled()Indicates 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.
-
-
-
Method Detail
-
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
-
-