JMX增强

git-svn-id: http://code.alibabatech.com/svn/druid/trunk@712 b9813039-fb51-4c41-a8b9-e21c2acb5095
This commit is contained in:
wenshao
2011-09-09 17:27:12 +00:00
parent 1871aaf77a
commit 449728843f
2 changed files with 20 additions and 0 deletions
@@ -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();
}