mirror of
https://github.com/alibaba/druid.git
synced 2023-03-04 19:17:16 +00:00
testcase
This commit is contained in:
@@ -1,56 +1,56 @@
|
||||
package com.alibaba.druid.pool;
|
||||
|
||||
import java.util.Properties;
|
||||
|
||||
public interface DruidDataSourceC3P0AdapterMBean {
|
||||
|
||||
String getDriverClass();
|
||||
|
||||
String getJdbcUrl();
|
||||
|
||||
Properties getProperties();
|
||||
|
||||
String getUser();
|
||||
|
||||
int getCheckoutTimeout();
|
||||
|
||||
boolean isAutoCommitOnClose();
|
||||
|
||||
int getIdleConnectionTestPeriod();
|
||||
|
||||
int getInitialPoolSize();
|
||||
|
||||
int getMaxIdleTime();
|
||||
|
||||
int getMaxPoolSize();
|
||||
|
||||
int getMinPoolSize();
|
||||
|
||||
boolean isTestConnectionOnCheckout();
|
||||
|
||||
boolean isTestConnectionOnCheckin();
|
||||
|
||||
String getPreferredTestQuery();
|
||||
|
||||
int getNumIdleConnections();
|
||||
|
||||
int getNumConnections();
|
||||
|
||||
String getDataSourceName();
|
||||
|
||||
int getNumBusyConnections();
|
||||
|
||||
// //////////
|
||||
|
||||
boolean isEnable();
|
||||
|
||||
void shrink();
|
||||
|
||||
String toString();
|
||||
|
||||
int getWaitThreadCount();
|
||||
|
||||
int getLockQueueLength();
|
||||
|
||||
void close();
|
||||
}
|
||||
package com.alibaba.druid.pool;
|
||||
|
||||
import java.util.Properties;
|
||||
|
||||
public interface DruidDataSourceC3P0AdapterMBean {
|
||||
|
||||
String getDriverClass();
|
||||
|
||||
String getJdbcUrl();
|
||||
|
||||
Properties getProperties();
|
||||
|
||||
String getUser();
|
||||
|
||||
int getCheckoutTimeout();
|
||||
|
||||
boolean isAutoCommitOnClose();
|
||||
|
||||
int getIdleConnectionTestPeriod();
|
||||
|
||||
int getInitialPoolSize();
|
||||
|
||||
int getMaxIdleTime();
|
||||
|
||||
int getMaxPoolSize();
|
||||
|
||||
int getMinPoolSize();
|
||||
|
||||
boolean isTestConnectionOnCheckout();
|
||||
|
||||
boolean isTestConnectionOnCheckin();
|
||||
|
||||
String getPreferredTestQuery();
|
||||
|
||||
int getNumIdleConnections();
|
||||
|
||||
int getNumConnections();
|
||||
|
||||
String getDataSourceName();
|
||||
|
||||
int getNumBusyConnections();
|
||||
|
||||
// //////////
|
||||
|
||||
boolean isEnable();
|
||||
|
||||
void shrink();
|
||||
|
||||
String toString();
|
||||
|
||||
int getWaitThreadCount();
|
||||
|
||||
int getLockQueueLength();
|
||||
|
||||
void close();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user