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 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
Indicates if event buffering is enabled.- Returns:
true
if buffering is enabled.
-
setEnabled
Sets the buffering status.- Parameters:
enabled
- Indicates if buffering is enabled.
-
isAutoFlush
Indicates if events are automatically flushed after being written.- Returns:
true
if events must be flushed
-
setAutoFlush
Sets the auto flush indicator.- Parameters:
auto
- Indicates if events are automatically flushed after being written.
-