RemotePeerMXBean (Apache ZooKeeper - Server 3.7.0 API)
Date: 2021-03-17

org.apache.zookeeper.server.quorum

## Interface RemotePeerMXBean

- All Known Implementing Classes:
    RemotePeerBean

      public interface RemotePeerMXBean

  A proxy for a remote quorum peer.

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `String` | `getClientAddress()`
    `String` | `getElectionAddress()`
    `String` | `getLearnerType()`
    `String` | `getName()`
    `String` | `getQuorumAddress()`
    `boolean` | `isLeader()`

- - ### Method Detail

    - #### getName

          String getName()

      Returns:
        name of the peer

    - #### getQuorumAddress

          String getQuorumAddress()

      Returns:
        IP address of the quorum peer

    - #### getElectionAddress

          String getElectionAddress()

      Returns:
        the election address

    - #### getClientAddress

          String getClientAddress()

      Returns:
        the client address

    - #### getLearnerType

          String getLearnerType()

      Returns:
        the learner type

    - #### isLeader

          boolean isLeader()

      Returns:
        true if the peer is the current leader

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