add api tryGetConnection and fill

This commit is contained in:
yakolee
2014-07-01 18:44:14 +08:00
parent 961282db9d
commit 62c4f7df9e
5 changed files with 273 additions and 0 deletions
@@ -81,4 +81,8 @@ public interface DruidDataSourceMBean extends DruidAbstractDataSourceMBean {
void setTimeBetweenLogStatsMillis(long timeBetweenLogStatsMillis);
void setConnectionProperties(String connectionProperties);
int fill() throws SQLException;
int fill(int toCount) throws SQLException;
}