public interface DataSourceMXBean
boolean getAbandonedUsageTracking()
boolean getCacheState()
BasicDataSource.getCacheState()
.String[] getConnectionInitSqlsAsArray()
Boolean getDefaultAutoCommit()
BasicDataSource.getDefaultAutoCommit()
.String getDefaultCatalog()
BasicDataSource.getDefaultCatalog()
.Boolean getDefaultReadOnly()
BasicDataSource.getDefaultReadOnly()
.default String getDefaultSchema()
BasicDataSource.getDefaultSchema()
.int getDefaultTransactionIsolation()
String[] getDisconnectionSqlCodesAsArray()
BasicDataSource.getDisconnectionSqlCodesAsArray()
.String getDriverClassName()
BasicDataSource.getDriverClassName()
.boolean getFastFailValidation()
BasicDataSource.getFastFailValidation()
.int getInitialSize()
BasicDataSource.getInitialSize()
.boolean getLifo()
BasicDataSource.getLifo()
.boolean getLogAbandoned()
BasicDataSource.getLogAbandoned()
.boolean getLogExpiredConnections()
BasicDataSource.getLogExpiredConnections()
.long getMaxConnLifetimeMillis()
int getMaxIdle()
BasicDataSource.getMaxIdle()
.int getMaxOpenPreparedStatements()
int getMaxTotal()
BasicDataSource.getMaxTotal()
.long getMaxWaitMillis()
BasicDataSource.getMaxWaitMillis()
.long getMinEvictableIdleTimeMillis()
int getMinIdle()
BasicDataSource.getMinIdle()
.int getNumActive()
BasicDataSource.getNumActive()
.int getNumIdle()
BasicDataSource.getNumIdle()
.int getNumTestsPerEvictionRun()
boolean getRemoveAbandonedOnBorrow()
boolean getRemoveAbandonedOnMaintenance()
int getRemoveAbandonedTimeout()
long getSoftMinEvictableIdleTimeMillis()
boolean getTestOnBorrow()
BasicDataSource.getTestOnBorrow()
.boolean getTestOnCreate()
BasicDataSource.getTestOnCreate()
.boolean getTestWhileIdle()
BasicDataSource.getTestWhileIdle()
.long getTimeBetweenEvictionRunsMillis()
String getUrl()
BasicDataSource.getUrl()
.String getUsername()
BasicDataSource.getUsername()
.String getValidationQuery()
BasicDataSource.getValidationQuery()
.int getValidationQueryTimeout()
boolean isAccessToUnderlyingConnectionAllowed()
default boolean isClearStatementPoolOnReturn()
BasicDataSource.isClearStatementPoolOnReturn()
.boolean isClosed()
BasicDataSource.isClosed()
.boolean isPoolPreparedStatements()
default void restart() throws SQLException
SQLException
- if an error occurs initializing the data source.default void start() throws SQLException
SQLException
- if an error occurs initializing the data source.Copyright © 2001–2020 The Apache Software Foundation. All rights reserved.