public static interface ReplicationModepb.DRAutoSyncOrBuilder
extends com.google.protobuf.MessageOrBuilder
Modifier and Type | Method and Description |
---|---|
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)
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
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;
index
- The index of the element to return.Copyright © 2024 PingCAP. All rights reserved.