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

org.apache.zookeeper.server

## Interface ServerStats.Provider

- All Known Implementing Classes:
    FollowerZooKeeperServer, LeaderZooKeeperServer, LearnerZooKeeperServer, ObserverZooKeeperServer, QuorumZooKeeperServer, ReadOnlyZooKeeperServer, ZooKeeperServer
  Enclosing class:
    ServerStats

      public static interface ServerStats.Provider

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `long` | `getDataDirSize()`
    `long` | `getLastProcessedZxid()`
    `long` | `getLogDirSize()`
    `int` | `getNumAliveConnections()`
    `long` | `getOutstandingRequests()`
    `String` | `getState()`

- - ### Method Detail

    - #### getOutstandingRequests

          long getOutstandingRequests()

    - #### getLastProcessedZxid

          long getLastProcessedZxid()

    - #### getState

          String getState()

    - #### getNumAliveConnections

          int getNumAliveConnections()

    - #### getDataDirSize

          long getDataDirSize()

    - #### getLogDirSize

          long getLogDirSize()

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