Package com.linkedin.venice.stats
Class HttpConnectionPoolStats
java.lang.Object
com.linkedin.venice.stats.AbstractVeniceStats
com.linkedin.venice.stats.HttpConnectionPoolStats
-
Field Summary
Fields inherited from class com.linkedin.venice.stats.AbstractVeniceStats
DELIMITER
-
Constructor Summary
ConstructorDescriptionHttpConnectionPoolStats
(io.tehuti.metrics.MetricsRepository metricsRepository, String name) -
Method Summary
Modifier and TypeMethodDescriptionvoid
addConnectionPoolManager
(org.apache.http.impl.nio.conn.PoolingNHttpClientConnectionManager connectionManager) void
addStatsForRoute
(String hostName) This function is used to gradually populate per-route stats.long
getPendingRequestCount
(String hostname) void
recordConnectionLeaseRequestLatency
(long latency) void
recordPendingRequestCount
(long pendingRequestCount) void
removeConnectionPoolManager
(org.apache.http.impl.nio.conn.PoolingNHttpClientConnectionManager connectionManager) Methods inherited from class com.linkedin.venice.stats.AbstractVeniceStats
avgAndMax, avgAndTotal, getMetricFullName, getMetricsRepository, getName, getSensorFullName, getSensorFullName, isTotalStats, minAndMax, registerOnlyTotalRate, registerOnlyTotalSensor, registerPerStoreAndTotalSensor, registerSensor, registerSensor, registerSensor, registerSensor, registerSensorAttributeGauge, registerSensorIfAbsent, registerSensorIfAbsent, registerSensorIfAbsent, registerSensorWithAggregate, registerSensorWithAggregate, unregisterAllSensors
-
Constructor Details
-
HttpConnectionPoolStats
-
-
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
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
-