mirror of
https://github.com/alibaba/druid.git
synced 2023-03-04 19:17:16 +00:00
ha
This commit is contained in:
@@ -28,4 +28,16 @@ public interface HADataSourceMBean extends MultiDataSourceMBean {
|
||||
boolean isMasterFail();
|
||||
|
||||
boolean isSlaveFail();
|
||||
|
||||
int getMasterWeight();
|
||||
|
||||
int getSlaveWeight();
|
||||
|
||||
int getMasterWeightRegionBegin();
|
||||
|
||||
int getMasterWeightRegionEnd();
|
||||
|
||||
int getSlaveWeightRegionBegin();
|
||||
|
||||
int getSlaveWeightRegionEnd();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user