public interface DataSourceMXBean
boolean getAbandonedUsageTracking()
boolean getCacheState()
BasicDataSource.getCacheState()
.String[] getConnectionInitSqlsAsArray()
Boolean getDefaultAutoCommit()
String getDefaultCatalog()
BasicDataSource.getDefaultCatalog()
.Boolean getDefaultReadOnly()
BasicDataSource.getDefaultReadOnly()
.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()
boolean isClearStatementPoolOnReturn()
BasicDataSource.isClearStatementPoolOnReturn()
.boolean isClosed()
BasicDataSource.isClosed()
.boolean isPoolPreparedStatements()
void restart() throws SQLException
SQLException
- if an error occurs initializing the data source.void start() throws SQLException
SQLException
- if an error occurs initializing the data source.Copyright © 2000-2022 Apache Software Foundation. All Rights Reserved.