Class HttpConnectionMetricsImpl

    • Method Detail

      • incrementRequestCount

        public void incrementRequestCount()
      • incrementResponseCount

        public void incrementResponseCount()
      • getMetric

        public java.lang.Object getMetric​(java.lang.String metricName)
        Description copied from interface: HttpConnectionMetrics
        Return the value for the specified metric.
        Specified by:
        getMetric in interface HttpConnectionMetrics
        metricName - the name of the metric to query.
        the object representing the metric requested, null if the metric cannot not found.
      • setMetric

        public void setMetric​(java.lang.String metricName,
                              java.lang.Object obj)