public class DefaultJournalMaster extends Object implements JournalMaster
JournalMaster
. This is used by both master and job_master
processes.Constructor and Description |
---|
DefaultJournalMaster(JournalDomain journalDomain,
JournalSystem journalSystem) |
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.
|
public DefaultJournalMaster(JournalDomain journalDomain, JournalSystem journalSystem)
journalDomain
- domain for the journaljournalSystem
- internal JournalSystem
referencepublic GetQuorumInfoPResponse getQuorumInfo() throws IOException
JournalMaster
JournalType.EMBEDDED
journal.getQuorumInfo
in interface JournalMaster
IOException
- if error occurs while performing the operationpublic void removeQuorumServer(NetAddress serverAddress) throws IOException
JournalMaster
JournalType.EMBEDDED
journal.removeQuorumServer
in interface JournalMaster
serverAddress
- server address to remove from quorumIOException
- if error occurs while performing the operationCopyright © 2023. All Rights Reserved.