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()
JournalMaster
JournalType.EMBEDDED
journal.getQuorumInfo
in interface JournalMaster
public void removeQuorumServer(NetAddress serverAddress) throws IOException
JournalMaster
JournalType.EMBEDDED
journal.removeQuorumServer
in interface JournalMaster
serverAddress
- server address to remove from quorumIOException
Copyright © 2023. All Rights Reserved.