support sharePreparedStatements option

This commit is contained in:
wenshao
2011-12-28 17:49:55 +08:00
parent f80fb10be2
commit 0a2d5f43c8
6 changed files with 168 additions and 40 deletions
@@ -44,7 +44,7 @@ public interface DruidAbstractDataSourceMBean {
long getStartTransactionCount();
int getQueryTimeout();
int getTransactionQueryTimeout();
String getValidationQuery();
@@ -66,13 +66,13 @@ public interface DruidAbstractDataSourceMBean {
List<String> getFilterClassNames();
boolean isTestOnBorrow();
void setTestOnBorrow(boolean testOnBorrow);
boolean isTestOnReturn();
boolean isTestWhileIdle();
void setTestWhileIdle(boolean testWhileIdle);
boolean isDefaultAutoCommit();
@@ -85,6 +85,8 @@ public interface DruidAbstractDataSourceMBean {
boolean isPoolPreparedStatements();
boolean isSharePreparedStatements();
long getMaxWait();
int getMinIdle();
@@ -102,7 +104,7 @@ public interface DruidAbstractDataSourceMBean {
long getRemoveAbandonedCount();
boolean isLogAbandoned();
void setLogAbandoned(boolean logAbandoned);
long getDupCloseCount();