public interface JournalMasterClient extends Closeable
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 newLeaderNetAddress)
Initiates changing the leading master of the quorum.
|
GetQuorumInfoPResponse getQuorumInfo() throws AlluxioStatusException
AlluxioStatusException
void removeQuorumServer(NetAddress serverAddress) throws AlluxioStatusException
serverAddress
- server address to remove from quorumAlluxioStatusException
void transferLeadership(NetAddress newLeaderNetAddress) throws AlluxioStatusException
newLeaderNetAddress
- server address of the prospective new leaderAlluxioStatusException
void resetPriorities() throws AlluxioStatusException
AlluxioStatusException
Copyright © 2023. All Rights Reserved.