mirror of
https://github.com/alibaba/druid.git
synced 2023-03-04 19:17:16 +00:00
support sharePreparedStatements option
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user