mirror of
https://github.com/alibaba/druid.git
synced 2023-03-04 19:17:16 +00:00
JMX增强
git-svn-id: http://code.alibabatech.com/svn/druid/trunk@712 b9813039-fb51-4c41-a8b9-e21c2acb5095
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
package com.alibaba.druid.pool;
|
||||
|
||||
import java.util.Date;
|
||||
import java.util.List;
|
||||
|
||||
public interface DruidAbstractDataSourceMBean {
|
||||
@@ -85,4 +86,20 @@ public interface DruidAbstractDataSourceMBean {
|
||||
long getRemoveAbandonedCount();
|
||||
|
||||
boolean isLogAbandoned();
|
||||
|
||||
long getDupCloseCount();
|
||||
|
||||
boolean isBreakAfterAcquireFailure();
|
||||
|
||||
int getConnectionErrorRetryAttempts();
|
||||
|
||||
int getMaxPoolPreparedStatementPerConnectionSize();
|
||||
|
||||
String getProperties();
|
||||
|
||||
int getRawDriverMinorVersion();
|
||||
|
||||
int getRawDriverMajorVersion();
|
||||
|
||||
Date getCreatedTime();
|
||||
}
|
||||
|
||||
@@ -15,6 +15,7 @@
|
||||
*/
|
||||
package com.alibaba.druid.pool;
|
||||
|
||||
|
||||
/**
|
||||
* @author wenshao<szujobs@hotmail.com>
|
||||
*/
|
||||
@@ -47,4 +48,6 @@ public interface DruidDataSourceMBean extends DruidAbstractDataSourceMBean {
|
||||
void setResetStatEnable(boolean resetStatEnable);
|
||||
|
||||
String getVersion();
|
||||
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user