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 booleanisAutoFlush()Indicates if events are automatically flushed after being written.booleanisEnabled()Indicates if event buffering is enabled.voidsetAutoFlush(boolean auto)Sets the auto flush indicator.voidsetEnabled(boolean enabled)Sets the buffering status.
-
-
-
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.
-
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.
-
-