public class ElementsHikariDataSource
extends com.zaxxer.hikari.HikariDataSource
| Constructor and Description |
|---|
ElementsHikariDataSource() |
ElementsHikariDataSource(com.zaxxer.hikari.HikariConfig configuration) |
| Modifier and Type | Method and Description |
|---|---|
java.sql.Connection |
getConnection() |
java.util.List<java.lang.String> |
getConnectionInitStatements() |
protected void |
initConnection(java.sql.Connection connection) |
void |
setConnectionInitStatements(java.util.List<java.lang.String> connectionInitStatements) |
protected javax.sql.DataSource |
wrapDataSource(javax.sql.DataSource ds) |
close, evictConnection, getConnection, getHikariConfigMXBean, getHikariPoolMXBean, getLoginTimeout, getLogWriter, getParentLogger, isClosed, isRunning, isWrapperFor, setHealthCheckRegistry, setLoginTimeout, setLogWriter, setMetricRegistry, setMetricsTrackerFactory, toString, unwrapaddDataSourceProperty, addHealthCheckProperty, copyStateTo, getCatalog, getConnectionInitSql, getConnectionTestQuery, getConnectionTimeout, getDataSource, getDataSourceClassName, getDataSourceJNDI, getDataSourceProperties, getDriverClassName, getHealthCheckProperties, getHealthCheckRegistry, getIdleTimeout, getInitializationFailTimeout, getJdbcUrl, getLeakDetectionThreshold, getMaximumPoolSize, getMaxLifetime, getMetricRegistry, getMetricsTrackerFactory, getMinimumIdle, getPassword, getPoolName, getScheduledExecutor, getSchema, getThreadFactory, getTransactionIsolation, getUsername, getValidationTimeout, isAllowPoolSuspension, isAutoCommit, isIsolateInternalQueries, isReadOnly, isRegisterMbeans, setAllowPoolSuspension, setAutoCommit, setCatalog, setConnectionInitSql, setConnectionTestQuery, setConnectionTimeout, setDataSource, setDataSourceClassName, setDataSourceJNDI, setDataSourceProperties, setDriverClassName, setHealthCheckProperties, setIdleTimeout, setInitializationFailTimeout, setIsolateInternalQueries, setJdbcUrl, setLeakDetectionThreshold, setMaximumPoolSize, setMaxLifetime, setMinimumIdle, setPassword, setPoolName, setReadOnly, setRegisterMbeans, setScheduledExecutor, setSchema, setThreadFactory, setTransactionIsolation, setUsername, setValidationTimeout, validatepublic ElementsHikariDataSource()
public ElementsHikariDataSource(com.zaxxer.hikari.HikariConfig configuration)
public java.util.List<java.lang.String> getConnectionInitStatements()
public void setConnectionInitStatements(java.util.List<java.lang.String> connectionInitStatements)
public java.sql.Connection getConnection()
throws java.sql.SQLException
getConnection in interface javax.sql.DataSourcegetConnection in class com.zaxxer.hikari.HikariDataSourcejava.sql.SQLExceptionprotected void initConnection(java.sql.Connection connection)
throws java.sql.SQLException
java.sql.SQLExceptionprotected javax.sql.DataSource wrapDataSource(javax.sql.DataSource ds)