public interface BasicDataSourceMXBean
boolean getAbandonedUsageTracking()
Boolean getDefaultAutoCommit()
Boolean getDefaultReadOnly()
BasicDataSource.getDefaultReadOnly()
int getDefaultTransactionIsolation()
String getDefaultCatalog()
BasicDataSource.getDefaultCatalog()
String getDefaultSchema()
BasicDataSource.getDefaultSchema()
boolean getCacheState()
BasicDataSource.getCacheState()
String getDriverClassName()
BasicDataSource.getDriverClassName()
boolean getLifo()
BasicDataSource.getLifo()
int getMaxTotal()
BasicDataSource.getMaxTotal()
int getMaxIdle()
BasicDataSource.getMaxIdle()
int getMinIdle()
BasicDataSource.getMinIdle()
int getInitialSize()
BasicDataSource.getInitialSize()
long getMaxWaitMillis()
BasicDataSource.getMaxWaitMillis()
boolean isPoolPreparedStatements()
boolean isClearStatementPoolOnReturn()
BasicDataSource.isClearStatementPoolOnReturn()
int getMaxOpenPreparedStatements()
boolean getTestOnCreate()
BasicDataSource.getTestOnCreate()
boolean getTestOnBorrow()
BasicDataSource.getTestOnBorrow()
long getTimeBetweenEvictionRunsMillis()
int getNumTestsPerEvictionRun()
long getMinEvictableIdleTimeMillis()
long getSoftMinEvictableIdleTimeMillis()
boolean getTestWhileIdle()
BasicDataSource.getTestWhileIdle()
int getNumActive()
BasicDataSource.getNumActive()
int getNumIdle()
BasicDataSource.getNumIdle()
String getPassword()
BasicDataSource.getPassword()
String getUrl()
BasicDataSource.getUrl()
String getUsername()
BasicDataSource.getUsername()
String getValidationQuery()
BasicDataSource.getValidationQuery()
int getValidationQueryTimeout()
String[] getConnectionInitSqlsAsArray()
boolean isAccessToUnderlyingConnectionAllowed()
long getMaxConnLifetimeMillis()
boolean getLogExpiredConnections()
BasicDataSource.getLogExpiredConnections()
boolean getRemoveAbandonedOnBorrow()
boolean getRemoveAbandonedOnMaintenance()
int getRemoveAbandonedTimeout()
boolean getLogAbandoned()
BasicDataSource.getLogAbandoned()
boolean isClosed()
BasicDataSource.isClosed()
boolean getFastFailValidation()
BasicDataSource.getFastFailValidation()
String[] getDisconnectionSqlCodesAsArray()
BasicDataSource.getDisconnectionSqlCodesAsArray()
void start() throws SQLException
SQLException
- if an error occurs initializing the datasourcevoid restart() throws SQLException
SQLException
- if an error occurs initializing the datasourceCopyright © 2000-2021 Apache Software Foundation. All Rights Reserved.