Package org.forgerock.audit.handlers.csv
Class CsvAuditEventHandlerConfiguration.EventBufferingConfiguration
java.lang.Object
org.forgerock.audit.handlers.csv.CsvAuditEventHandlerConfiguration.EventBufferingConfiguration
- Enclosing class:
- CsvAuditEventHandlerConfiguration
Configuration of event buffering.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanIndicates if events are automatically flushed after being written.booleanIndicates if event buffering is enabled.voidsetAutoFlush(boolean auto) Sets the auto flush indicator.voidsetEnabled(boolean enabled) Sets the buffering status.
-
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.
-
isAutoFlush
public boolean isAutoFlush()Indicates if events are automatically flushed after being written.- Returns:
trueif events must be flushed
-
setAutoFlush
public void setAutoFlush(boolean auto) Sets the auto flush indicator.- Parameters:
auto- Indicates if events are automatically flushed after being written.
-