This commit is contained in:
wenshao
2011-12-21 13:19:23 +08:00
parent bdba952244
commit 63ae20662e
7 changed files with 116 additions and 22 deletions
@@ -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();
}