Package org.forgerock.audit.handlers.csv
Class CsvAuditEventHandlerConfiguration.EventBufferingConfiguration
- java.lang.Object
-
- org.forgerock.audit.handlers.csv.CsvAuditEventHandlerConfiguration.EventBufferingConfiguration
-
- Enclosing class:
- CsvAuditEventHandlerConfiguration
public static class CsvAuditEventHandlerConfiguration.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 boolean
isAutoFlush()
Indicates if events are automatically flushed after being written.boolean
isEnabled()
Indicates if event buffering is enabled.void
setAutoFlush(boolean auto)
Sets the auto flush indicator.void
setEnabled(boolean enabled)
Sets the buffering status.
-
-
-
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.
-
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.
-
-