public static interface ReplicationModepb.DRAutoSyncOrBuilder
extends com.google.protobuf.MessageOrBuilder
| 限定符和类型 | 方法和说明 |
|---|---|
long |
getAvailableStores(int index)
Stores should only sync messages with available stores when state is ASYNC or ASYNC_WAIT.
|
int |
getAvailableStoresCount()
Stores should only sync messages with available stores when state is ASYNC or ASYNC_WAIT.
|
List<Long> |
getAvailableStoresList()
Stores should only sync messages with available stores when state is ASYNC or ASYNC_WAIT.
|
String |
getLabelKey()
The key of the label that used for distinguish different DC.
|
com.google.protobuf.ByteString |
getLabelKeyBytes()
The key of the label that used for distinguish different DC.
|
ReplicationModepb.DRAutoSyncState |
getState()
.replication_modepb.DRAutoSyncState state = 2; |
long |
getStateId()
Unique ID of the state, it increases after each state transfer.
|
int |
getStateValue()
.replication_modepb.DRAutoSyncState state = 2; |
int |
getWaitSyncTimeoutHint()
Duration to wait before switching to SYNC by force (in seconds)
int32 wait_sync_timeout_hint = 4; |
String getLabelKey()
The key of the label that used for distinguish different DC.
string label_key = 1;com.google.protobuf.ByteString getLabelKeyBytes()
The key of the label that used for distinguish different DC.
string label_key = 1;int getStateValue()
.replication_modepb.DRAutoSyncState state = 2;ReplicationModepb.DRAutoSyncState getState()
.replication_modepb.DRAutoSyncState state = 2;long getStateId()
Unique ID of the state, it increases after each state transfer.
uint64 state_id = 3;int getWaitSyncTimeoutHint()
Duration to wait before switching to SYNC by force (in seconds)
int32 wait_sync_timeout_hint = 4;List<Long> getAvailableStoresList()
Stores should only sync messages with available stores when state is ASYNC or ASYNC_WAIT.
repeated uint64 available_stores = 5;int getAvailableStoresCount()
Stores should only sync messages with available stores when state is ASYNC or ASYNC_WAIT.
repeated uint64 available_stores = 5;long getAvailableStores(int index)
Stores should only sync messages with available stores when state is ASYNC or ASYNC_WAIT.
repeated uint64 available_stores = 5;Copyright © 2023 PingCAP. All rights reserved.