public static class ElasticsearchAuditEventHandlerConfiguration.EventBufferingConfiguration extends Object
| Constructor and Description |
|---|
EventBufferingConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
int |
getMaxBatchedEvents()
Gets the maximum number of events to read from the buffer on each
interval. |
int |
getMaxSize()
Gets the buffer capacity, which are the maximum number of events that can be buffered.
|
String |
getWriteInterval()
Gets the interval for reading events from the buffer to transmit to Elasticsearch.
|
boolean |
isEnabled()
Indicates if event buffering is enabled.
|
void |
setEnabled(boolean enabled)
Sets the buffering status.
|
void |
setMaxBatchedEvents(int maxBatchedEvents)
Sets the maximum number of events to read from the buffer on each
interval. |
void |
setMaxSize(int maxSize)
Sets the buffer capacity, which are the maximum number of events that can be buffered.
|
void |
setWriteInterval(String writeInterval)
Sets the interval for reading events from the buffer to transmit to Elasticsearch.
|
public boolean isEnabled()
true if buffering is enabled.public void setEnabled(boolean enabled)
enabled - Indicates if buffering is enabled.public int getMaxSize()
public void setMaxSize(int maxSize)
maxSize - buffer capacitypublic String getWriteInterval()
public void setWriteInterval(String writeInterval)
writeInterval - Interval (e.g., "20 millis")public int getMaxBatchedEvents()
interval.public void setMaxBatchedEvents(int maxBatchedEvents)
interval.maxBatchedEvents - Batch sizeCopyright © 2025 Open Identity Platform Community. All rights reserved.