public interface JournalMasterClient
extends java.io.Closeable
| Modifier and Type | Method and Description |
|---|---|
GetQuorumInfoPResponse |
getQuorumInfo()
Quorum information for participating servers in journal.
|
GetTransferLeaderMessagePResponse |
getTransferLeaderMessage(java.lang.String transferId)
Gets exception messages thrown when transferring the leader.
|
void |
removeQuorumServer(NetAddress serverAddress)
Removes a server from journal quorum.
|
void |
resetPriorities()
Resets RaftPeer priorities.
|
java.lang.String |
transferLeadership(NetAddress newLeaderNetAddress)
Initiates changing the leading master of the quorum.
|
GetQuorumInfoPResponse getQuorumInfo() throws AlluxioStatusException
AlluxioStatusExceptionvoid removeQuorumServer(NetAddress serverAddress) throws AlluxioStatusException
serverAddress - server address to remove from quorumAlluxioStatusExceptionjava.lang.String transferLeadership(NetAddress newLeaderNetAddress) throws AlluxioStatusException
newLeaderNetAddress - server address of the prospective new leaderAlluxioStatusExceptionvoid resetPriorities()
throws AlluxioStatusException
AlluxioStatusExceptionGetTransferLeaderMessagePResponse getTransferLeaderMessage(java.lang.String transferId) throws AlluxioStatusException
transferId - the guid of transferLeader commandAlluxioStatusExceptionCopyright © 2022. All Rights Reserved.