Interface GrpcConnectionMetrics.ConnectionMetricsMBean

Enclosing class:
GrpcConnectionMetrics

public static interface GrpcConnectionMetrics.ConnectionMetricsMBean
A MBean to track gRPC connections.
  • Method Details

    • getUID

      String getUID()
      Returns the UID for the connection.
      Returns:
      the UID for the connection
    • getAddress

      String getAddress()
      Returns the remote address of the connection.
      Returns:
      the remote address of the connection
    • getTimestamp

      Date getTimestamp()
      Returns the time that the connection was opened.
      Returns:
      the time that the connection was opened
    • getRequestCount

      long getRequestCount()
      Returns the number of requests made by this connection.
      Returns:
      the number of requests made by this connection
    • getRequestCountMeanRate

      double getRequestCountMeanRate()
      Returns the mean rate of requests made by this connection.
      Returns:
      the mean rate of requests made by this connection
    • getRequestCountOneMinuteRate

      double getRequestCountOneMinuteRate()
      Returns the one minute rate of requests made by this connection.
      Returns:
      the one minute rate of requests made by this connection
    • getRequestCountFiveMinuteRate

      double getRequestCountFiveMinuteRate()
      Returns the five minute rate of requests made by this connection.
      Returns:
      the five minute rate of requests made by this connection
    • getRequestCountFifteenMinuteRate

      double getRequestCountFifteenMinuteRate()
      Returns the fifteen minute rate of requests made by this connection.
      Returns:
      the fifteen minute rate of requests made by this connection