public class JdbcAuditEventHandlerConfiguration extends EventHandlerConfiguration
Modifier and Type | Class and Description |
---|---|
static class |
JdbcAuditEventHandlerConfiguration.ConnectionPool
Configuration for a connection pool.
|
static class |
JdbcAuditEventHandlerConfiguration.EventBufferingConfiguration
Configuration of event buffering.
|
Constructor and Description |
---|
JdbcAuditEventHandlerConfiguration() |
Modifier and Type | Method and Description |
---|---|
JdbcAuditEventHandlerConfiguration.EventBufferingConfiguration |
getBuffering()
Returns the configuration for events buffering.
|
JdbcAuditEventHandlerConfiguration.ConnectionPool |
getConnectionPool()
Gets the connection pool settings.
|
String |
getDatabaseType()
Gets the type of the database.
|
List<TableMapping> |
getTableMappings()
Gets the table mappings for the audit events.
|
boolean |
isUsableForQueries()
States if an
AuditEventHandler can be used for queries. |
void |
setBufferingConfiguration(JdbcAuditEventHandlerConfiguration.EventBufferingConfiguration bufferingConfiguration)
Sets the configuration for events buffering.
|
void |
setConnectionPool(JdbcAuditEventHandlerConfiguration.ConnectionPool connectionPool)
Sets the connection pool settings.
|
void |
setDatabaseType(String databaseType)
Sets the type of the database.
|
void |
setTableMappings(List<TableMapping> tableMappings)
Sets the table mappings for the audit events.
|
getName, getTopics, isEnabled, setEnabled, setName, setTopics
public List<TableMapping> getTableMappings()
public void setTableMappings(List<TableMapping> tableMappings)
tableMappings
- The table mappings for the audit events.public JdbcAuditEventHandlerConfiguration.ConnectionPool getConnectionPool()
public void setConnectionPool(JdbcAuditEventHandlerConfiguration.ConnectionPool connectionPool)
connectionPool
- The connection pool settings.public String getDatabaseType()
public void setDatabaseType(String databaseType)
databaseType
- The type of the database.public boolean isUsableForQueries()
EventHandlerConfiguration
AuditEventHandler
can be used for queries.isUsableForQueries
in class EventHandlerConfiguration
AuditEventHandler
can be used for queries.
False - If the AuditEventHandler
can not be used for queries.public JdbcAuditEventHandlerConfiguration.EventBufferingConfiguration getBuffering()
public void setBufferingConfiguration(JdbcAuditEventHandlerConfiguration.EventBufferingConfiguration bufferingConfiguration)
bufferingConfiguration
- The configurationCopyright 2011-2017 ForgeRock AS.