public static class JdbcAuditEventHandlerConfiguration.EventBufferingConfiguration extends Object
Constructor and Description |
---|
EventBufferingConfiguration() |
Modifier and Type | Method and Description |
---|---|
int |
getMaxBatchedEvents()
Gets the maximum number of events that can be batched into a
PreparedStatement . |
int |
getMaxSize()
Returns the maximum size of the queue.
|
String |
getWriteInterval()
Gets the interval to write the queued buffered events.
|
int |
getWriterThreads()
Gets the number of writer threads to use to write buffered events.
|
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.
|
void |
setMaxBatchedEvents(int maxBatchedEvents)
Sets the maximum number of events that can be batched into a
PreparedStatement . |
void |
setMaxSize(int maxSize)
Sets the maximum size of the events queue.
|
void |
setWriteInterval(String writeInterval)
Sets the interval to write the queued buffered events.
|
void |
setWriterThreads(int writerThreads)
Sets the number of writer threads to use to write buffered events.
|
public boolean isEnabled()
true
if buffering is enabled.public void setEnabled(boolean enabled)
enabled
- Indicates if buffering is enabled.public boolean isAutoFlush()
true
if events must be flushedpublic void setAutoFlush(boolean auto)
auto
- Indicates if events are automatically flushed after being written.public int getMaxSize()
public void setMaxSize(int maxSize)
maxSize
- Maximum number of events in the queue.public String getWriteInterval()
public void setWriteInterval(String writeInterval)
writeInterval
- The interval as a string.public int getWriterThreads()
public void setWriterThreads(int writerThreads)
writerThreads
- The number of writer threads.public int getMaxBatchedEvents()
PreparedStatement
.public void setMaxBatchedEvents(int maxBatchedEvents)
PreparedStatement
.maxBatchedEvents
- The maximum number of batches.Copyright © 2025 Open Identity Platform Community. All rights reserved.