mirror of
https://github.com/alibaba/druid.git
synced 2023-03-04 19:17:16 +00:00
git-svn-id: http://code.alibabatech.com/svn/druid/trunk@665 b9813039-fb51-4c41-a8b9-e21c2acb5095
57 lines
869 B
Java
57 lines
869 B
Java
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();
|
|
}
|