Class ZoneConf

    • Constructor Detail

      • ZoneConf

        public ZoneConf()
      • ZoneConf

        public ZoneConf​(ZoneConf source)
        NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy, and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy.
    • Method Detail

      • getDeployMode

        public Long[] getDeployMode()
        Get 可用区部署方式,可能的值为:0-单可用区;1-多可用区
        Returns:
        DeployMode 可用区部署方式,可能的值为:0-单可用区;1-多可用区
      • setDeployMode

        public void setDeployMode​(Long[] DeployMode)
        Set 可用区部署方式,可能的值为:0-单可用区;1-多可用区
        Parameters:
        DeployMode - 可用区部署方式,可能的值为:0-单可用区;1-多可用区
      • getMasterZone

        public String[] getMasterZone()
        Get 主实例所在的可用区
        Returns:
        MasterZone 主实例所在的可用区
      • setMasterZone

        public void setMasterZone​(String[] MasterZone)
        Set 主实例所在的可用区
        Parameters:
        MasterZone - 主实例所在的可用区
      • getSlaveZone

        public String[] getSlaveZone()
        Get 实例为多可用区部署时,备库1所在的可用区
        Returns:
        SlaveZone 实例为多可用区部署时,备库1所在的可用区
      • setSlaveZone

        public void setSlaveZone​(String[] SlaveZone)
        Set 实例为多可用区部署时,备库1所在的可用区
        Parameters:
        SlaveZone - 实例为多可用区部署时,备库1所在的可用区
      • getBackupZone

        public String[] getBackupZone()
        Get 实例为多可用区部署时,备库2所在的可用区
        Returns:
        BackupZone 实例为多可用区部署时,备库2所在的可用区
      • setBackupZone

        public void setBackupZone​(String[] BackupZone)
        Set 实例为多可用区部署时,备库2所在的可用区
        Parameters:
        BackupZone - 实例为多可用区部署时,备库2所在的可用区