QuorumStats.Provider (Apache ZooKeeper - Server 3.7.0 API)
Date: 2021-03-17

org.apache.zookeeper.server.quorum

## Interface QuorumStats.Provider

- All Known Implementing Classes:
    QuorumPeer
  Enclosing class:
    QuorumStats

      public static interface QuorumStats.Provider

- - ### Field Summary

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `static String` | `FOLLOWING_STATE`
    `static String` | `LEADING_STATE`
    `static String` | `LOOKING_STATE`
    `static String` | `OBSERVING_STATE`
    `static String` | `UNKNOWN_STATE`

  - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `String[]` | `getQuorumPeers()`
    `String` | `getServerState()`

- - ### Field Detail

    - #### UNKNOWN_STATE

          static final String UNKNOWN_STATE

      See Also:
        Constant Field Values

    - #### LOOKING_STATE

          static final String LOOKING_STATE

      See Also:
        Constant Field Values

    - #### LEADING_STATE

          static final String LEADING_STATE

      See Also:
        Constant Field Values

    - #### FOLLOWING_STATE

          static final String FOLLOWING_STATE

      See Also:
        Constant Field Values

    - #### OBSERVING_STATE

          static final String OBSERVING_STATE

      See Also:
        Constant Field Values

  - ### Method Detail

    - #### getQuorumPeers

          String[] getQuorumPeers()

    - #### getServerState

          String getServerState()

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