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().Duration getMaxConnDuration()
BasicDataSource.getMaxConnDuration().@Deprecated long getMaxConnLifetimeMillis()
getMaxConnDuration().int getMaxIdle()
BasicDataSource.getMaxIdle().int getMaxOpenPreparedStatements()
int getMaxTotal()
BasicDataSource.getMaxTotal().Duration getMaxWaitDuration()
BasicDataSource.getMaxWaitDuration().@Deprecated long getMaxWaitMillis()
getMaxWaitDuration().BasicDataSource.getMaxWaitMillis().Duration getMinEvictableIdleDuration()
BasicDataSource.getMinEvictableIdleDuration().@Deprecated long getMinEvictableIdleTimeMillis()
getMinEvictableIdleDuration().int getMinIdle()
BasicDataSource.getMinIdle().int getNumActive()
BasicDataSource.getNumActive().int getNumIdle()
BasicDataSource.getNumIdle().int getNumTestsPerEvictionRun()
boolean getRemoveAbandonedOnBorrow()
boolean getRemoveAbandonedOnMaintenance()
Duration getRemoveAbandonedTimeoutDuration()
BasicDataSource.getRemoveAbandonedTimeoutDuration().@Deprecated int getRemoveAbandonedTimeout()
getRemoveAbandonedTimeoutDuration().Duration getSoftMinEvictableIdleDuration()
BasicDataSource.getSoftMinEvictableIdleDuration().@Deprecated long getSoftMinEvictableIdleTimeMillis()
getSoftMinEvictableIdleDuration().boolean getTestOnBorrow()
BasicDataSource.getTestOnBorrow().boolean getTestOnCreate()
BasicDataSource.getTestOnCreate().boolean getTestWhileIdle()
BasicDataSource.getTestWhileIdle().Duration getDurationBetweenEvictionRuns()
BasicDataSource.getDurationBetweenEvictionRuns().@Deprecated long getTimeBetweenEvictionRunsMillis()
getDurationBetweenEvictionRuns().String getUrl()
BasicDataSource.getUrl().String getUsername()
BasicDataSource.getUsername().String getValidationQuery()
BasicDataSource.getValidationQuery().Duration getValidationQueryTimeoutDuration()
BasicDataSource.getValidationQueryTimeoutDuration().@Deprecated int getValidationQueryTimeout()
getValidationQueryTimeoutDuration().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 © 2000-2022 Apache Software Foundation. All Rights Reserved.