Interface ServerMetrics


  • public interface ServerMetrics
    Metrics about the resource usage for a cache server. These metrics are provided to the ServerLoadProbe for use in calculating the load on the server.
    Since:
    GemFire 5.7
    • Method Detail

      • getConnectionCount

        int getConnectionCount()
        Get the number of open connections for this cache server.
        Returns:
        the number of open connections for this cache server
      • getClientCount

        int getClientCount()
        Get the number of clients connected to this cache server.
        Returns:
        the number of clients connected to this cache server
      • getSubscriptionConnectionCount

        int getSubscriptionConnectionCount()
        Get the number of client subscription connections hosted on this cache server.
        Returns:
        the number of client subscription connections hosted on this cache server
      • getMaxConnections

        int getMaxConnections()
        Get the max connections for this cache server.
        Returns:
        the max connections for this cache server