mirror of
https://github.com/alibaba/druid.git
synced 2023-03-04 19:17:16 +00:00
ha support
This commit is contained in:
@@ -122,6 +122,11 @@ public class DruidDataSource extends DruidAbstractDataSource implements
|
||||
public void setResetStatEnable(boolean resetStatEnable) {
|
||||
this.resetStatEnable = resetStatEnable;
|
||||
}
|
||||
|
||||
public void restart() {
|
||||
this.close();
|
||||
this.inited = false;
|
||||
}
|
||||
|
||||
public void resetStat() {
|
||||
if (!resetStatEnable) {
|
||||
|
||||
Reference in New Issue
Block a user