Package | Description |
---|---|
org.apache.zookeeper.server.quorum |
Modifier and Type | Field and Description |
---|---|
MultipleAddresses |
QuorumPeer.QuorumServer.addr |
MultipleAddresses |
QuorumPeer.AddressTuple.electionAddr |
MultipleAddresses |
QuorumPeer.QuorumServer.electionAddr |
protected MultipleAddresses |
Learner.leaderAddr |
MultipleAddresses |
QuorumPeer.AddressTuple.quorumAddr |
Modifier and Type | Method and Description |
---|---|
MultipleAddresses |
QuorumPeer.getElectionAddress() |
MultipleAddresses |
QuorumPeer.getQuorumAddress() |
Modifier and Type | Method and Description |
---|---|
protected void |
Learner.connectToLeader(MultipleAddresses multiAddr,
String hostname)
Establish a connection with the LearnerMaster found by findLearnerMaster.
|
void |
QuorumCnxManager.initiateConnection(MultipleAddresses electionAddr,
Long sid)
First we create the socket, perform SSL handshake and authentication if needed.
|
boolean |
QuorumCnxManager.initiateConnectionAsync(MultipleAddresses electionAddr,
Long sid)
Server will initiate the connection request to its peer server
asynchronously via separate connection thread.
|
void |
QuorumPeer.setLeaderAddressAndId(MultipleAddresses addr,
long newId) |
Constructor and Description |
---|
AddressTuple(MultipleAddresses quorumAddr,
MultipleAddresses electionAddr,
InetSocketAddress clientAddr) |
Copyright © 2008–2020 The Apache Software Foundation. All rights reserved.