public interface DataSourceMXBean
boolean getAbandonedUsageTracking()
boolean getCacheState()
BasicDataSource.getCacheState().java.lang.String[] getConnectionInitSqlsAsArray()
java.lang.Boolean getDefaultAutoCommit()
BasicDataSource.getDefaultAutoCommit().java.lang.String getDefaultCatalog()
BasicDataSource.getDefaultCatalog().java.lang.Boolean getDefaultReadOnly()
BasicDataSource.getDefaultReadOnly().default java.lang.String getDefaultSchema()
BasicDataSource.getDefaultSchema().int getDefaultTransactionIsolation()
java.lang.String[] getDisconnectionSqlCodesAsArray()
BasicDataSource.getDisconnectionSqlCodesAsArray().java.lang.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()
java.lang.String getUrl()
BasicDataSource.getUrl().java.lang.String getUsername()
BasicDataSource.getUsername().java.lang.String getValidationQuery()
BasicDataSource.getValidationQuery().int getValidationQueryTimeout()
boolean isAccessToUnderlyingConnectionAllowed()
default boolean isClearStatementPoolOnReturn()
BasicDataSource.isClearStatementPoolOnReturn().boolean isClosed()
BasicDataSource.isClosed().boolean isPoolPreparedStatements()
default void restart()
throws java.sql.SQLException
java.sql.SQLException - if an error occurs initializing the data source.default void start()
throws java.sql.SQLException
java.sql.SQLException - if an error occurs initializing the data source.Copyright © 2000-2024 Apache Software Foundation.
Apache Tomcat, Tomcat, Apache, the Apache Tomcat logo and the Apache logo are either registered trademarks or trademarks of the Apache Software Foundation.