| Package | Description |
|---|---|
| com.huaweicloud.sdk.gaussdbforopengauss.v3 | |
| com.huaweicloud.sdk.gaussdbforopengauss.v3.model |
| Modifier and Type | Field and Description |
|---|---|
static HttpRequestDef<SwitchShardRequest,SwitchShardResponse> |
GaussDBforopenGaussMeta.switchShard |
| Modifier and Type | Method and Description |
|---|---|
AsyncInvoker<SwitchShardRequest,SwitchShardResponse> |
GaussDBforopenGaussAsyncClient.switchShardAsyncInvoker(SwitchShardRequest request)
分片节点主备切换。
支持用户对单个或多个DN分片做主备切换,同一分组内只能指定一个新的备节点进行升主操作。
详细说明请参考华为云API Explorer。
Please refer to Huawei cloud API Explorer for details.
|
SyncInvoker<SwitchShardRequest,SwitchShardResponse> |
GaussDBforopenGaussClient.switchShardInvoker(SwitchShardRequest request)
分片节点主备切换。
支持用户对单个或多个DN分片做主备切换,同一分组内只能指定一个新的备节点进行升主操作。
详细说明请参考华为云API Explorer。
Please refer to Huawei cloud API Explorer for details.
|
| Modifier and Type | Method and Description |
|---|---|
SwitchShardResponse |
GaussDBforopenGaussClient.switchShard(SwitchShardRequest request)
分片节点主备切换。
支持用户对单个或多个DN分片做主备切换,同一分组内只能指定一个新的备节点进行升主操作。
详细说明请参考华为云API Explorer。
Please refer to Huawei cloud API Explorer for details.
|
CompletableFuture<SwitchShardResponse> |
GaussDBforopenGaussAsyncClient.switchShardAsync(SwitchShardRequest request)
分片节点主备切换。
支持用户对单个或多个DN分片做主备切换,同一分组内只能指定一个新的备节点进行升主操作。
详细说明请参考华为云API Explorer。
Please refer to Huawei cloud API Explorer for details.
|
AsyncInvoker<SwitchShardRequest,SwitchShardResponse> |
GaussDBforopenGaussAsyncClient.switchShardAsyncInvoker(SwitchShardRequest request)
分片节点主备切换。
支持用户对单个或多个DN分片做主备切换,同一分组内只能指定一个新的备节点进行升主操作。
详细说明请参考华为云API Explorer。
Please refer to Huawei cloud API Explorer for details.
|
SyncInvoker<SwitchShardRequest,SwitchShardResponse> |
GaussDBforopenGaussClient.switchShardInvoker(SwitchShardRequest request)
分片节点主备切换。
支持用户对单个或多个DN分片做主备切换,同一分组内只能指定一个新的备节点进行升主操作。
详细说明请参考华为云API Explorer。
Please refer to Huawei cloud API Explorer for details.
|
| Modifier and Type | Method and Description |
|---|---|
SwitchShardRequest |
SwitchShardRequest.withBody(java.util.function.Consumer<SwitchShardRequestBody> bodySetter) |
SwitchShardRequest |
SwitchShardRequest.withBody(SwitchShardRequestBody body) |
SwitchShardRequest |
SwitchShardRequest.withInstanceId(String instanceId) |
SwitchShardRequest |
SwitchShardRequest.withXLanguage(SwitchShardRequest.XLanguageEnum xLanguage) |
Copyright © 2022. All rights reserved.