Interface SyncReplicationPeerInfoProvider
- All Known Implementing Classes:
SyncReplicationPeerInfoProviderImpl
Get the information for a sync replication peer.
-
Method Summary
Modifier and TypeMethodDescriptionboolean
checkState
(TableName table, BiPredicate<SyncReplicationState, SyncReplicationState> checker) Check whether the given table is contained in a sync replication peer which can pass the state checker.Return the peer id and remote WAL directory if the table is synchronously replicated and the state isSyncReplicationState.ACTIVE
.
-
Method Details
-
getPeerIdAndRemoteWALDir
Return the peer id and remote WAL directory if the table is synchronously replicated and the state isSyncReplicationState.ACTIVE
. -
checkState
Check whether the given table is contained in a sync replication peer which can pass the state checker.Will call the checker with current sync replication state and new sync replication state.
-