Uses of Class org.apache.zookeeper.server.quorum.MultipleAddresses (Apache ZooKeeper - Server 3.7.0 API)
Date: 2021-03-17

## Uses of Class
org.apache.zookeeper.server.quorum.MultipleAddresses

- Packages that use MultipleAddresses
  Package | Description
  --- | ---
  org.apache.zookeeper.server.quorum |

- - ### Uses of MultipleAddresses in org.apache.zookeeper.server.quorum

    Fields in org.apache.zookeeper.server.quorum declared as MultipleAddresses
    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`

    Methods in org.apache.zookeeper.server.quorum that return MultipleAddresses
    Modifier and Type | Method and Description
    --- | ---
    `MultipleAddresses` | QuorumPeer.`getElectionAddress()`
    `MultipleAddresses` | QuorumPeer.`getQuorumAddress()`

    Methods in org.apache.zookeeper.server.quorum with parameters of type MultipleAddresses
    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)`

    Constructors in org.apache.zookeeper.server.quorum with parameters of type MultipleAddresses
    Constructor and Description
    `AddressTuple(MultipleAddresses quorumAddr, MultipleAddresses electionAddr, InetSocketAddress clientAddr)`

Copyright © 2008–2021 The Apache Software Foundation. All rights reserved.