mirror of
https://github.com/alibaba/druid.git
synced 2023-03-04 19:17:16 +00:00
enhance jmx support
This commit is contained in:
@@ -64,8 +64,14 @@ public interface DruidAbstractDataSourceMBean {
|
||||
List<String> getFilterClassNames();
|
||||
|
||||
boolean isTestOnBorrow();
|
||||
|
||||
void setTestOnBorrow(boolean testOnBorrow);
|
||||
|
||||
boolean isTestOnReturn();
|
||||
|
||||
boolean isTestWhileIdle();
|
||||
|
||||
void setTestWhileIdle(boolean testWhileIdle);
|
||||
|
||||
boolean isDefaultAutoCommit();
|
||||
|
||||
@@ -94,6 +100,8 @@ public interface DruidAbstractDataSourceMBean {
|
||||
long getRemoveAbandonedCount();
|
||||
|
||||
boolean isLogAbandoned();
|
||||
|
||||
void setLogAbandoned(boolean logAbandoned);
|
||||
|
||||
long getDupCloseCount();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user