public interface JournalMaster
Modifier and Type | Method and Description |
---|---|
GetQuorumInfoPResponse |
getQuorumInfo()
Quorum information for participating servers in journal.
|
void |
removeQuorumServer(NetAddress serverAddress)
Removes a server from journal quorum.
|
void |
resetPriorities()
Resets RaftPeer priorities.
|
void |
transferLeadership(NetAddress newLeaderAddress)
Changes the leading master of the journal quorum.
|
GetQuorumInfoPResponse getQuorumInfo() throws IOException
JournalType.EMBEDDED
journal.IOException
- if error occurs while performing the operationvoid removeQuorumServer(NetAddress serverAddress) throws IOException
JournalType.EMBEDDED
journal.serverAddress
- server address to remove from quorumIOException
- if error occurs while performing the operationvoid transferLeadership(NetAddress newLeaderAddress) throws IOException
JournalType.EMBEDDED
journal.newLeaderAddress
- server address to remove from quorumIOException
- if error occurs while performing the operationvoid resetPriorities() throws IOException
IOException
- if error occurs while performing the operationCopyright © 2023. All Rights Reserved.