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