Class HttpConnectionPoolStats

java.lang.Object
com.linkedin.venice.stats.AbstractVeniceStats
com.linkedin.venice.stats.HttpConnectionPoolStats

public class HttpConnectionPoolStats extends AbstractVeniceStats
  • Constructor Details

    • HttpConnectionPoolStats

      public HttpConnectionPoolStats(io.tehuti.metrics.MetricsRepository metricsRepository, String name)
  • Method Details

    • addConnectionPoolManager

      public void addConnectionPoolManager(org.apache.http.impl.nio.conn.PoolingNHttpClientConnectionManager connectionManager)
    • removeConnectionPoolManager

      public void removeConnectionPoolManager(org.apache.http.impl.nio.conn.PoolingNHttpClientConnectionManager connectionManager)
    • addStatsForRoute

      public void addStatsForRoute(String hostName)
      This function is used to gradually populate per-route stats.
      Parameters:
      hostName -
    • recordConnectionLeaseRequestLatency

      public void recordConnectionLeaseRequestLatency(long latency)
    • recordPendingRequestCount

      public void recordPendingRequestCount(long pendingRequestCount)
    • getPendingRequestCount

      public long getPendingRequestCount(String hostname)