Uses of Class
com.tencentcloudapi.postgres.v20170312.models.SwitchDBInstancePrimaryRequest
-
Packages that use SwitchDBInstancePrimaryRequest Package Description com.tencentcloudapi.postgres.v20170312 com.tencentcloudapi.postgres.v20170312.models -
-
Uses of SwitchDBInstancePrimaryRequest in com.tencentcloudapi.postgres.v20170312
Methods in com.tencentcloudapi.postgres.v20170312 with parameters of type SwitchDBInstancePrimaryRequest Modifier and Type Method Description SwitchDBInstancePrimaryResponse
PostgresClient. SwitchDBInstancePrimary(SwitchDBInstancePrimaryRequest req)
本接口(SwitchDBInstancePrimary)用于切换实例主备关系。 通过主动发起切换,可以验证业务能否正确处理实例主备切换的场景 通过使用强制切换,可以在备节点延迟不满足切换条件时,强制发起主从切换 只有主实例可以执行该操作 -
Uses of SwitchDBInstancePrimaryRequest in com.tencentcloudapi.postgres.v20170312.models
Constructors in com.tencentcloudapi.postgres.v20170312.models with parameters of type SwitchDBInstancePrimaryRequest Constructor Description SwitchDBInstancePrimaryRequest(SwitchDBInstancePrimaryRequest 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.
-