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
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Indicates if events are automatically flushed after being written.boolean
Indicates if event buffering is enabled.void
setAutoFlush
(boolean auto) Sets the auto flush indicator.void
setEnabled
(boolean enabled) Sets the buffering status.
-
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.
-
isAutoFlush
public boolean isAutoFlush()Indicates if events are automatically flushed after being written.- Returns:
true
if 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.
-