Package com.linkedin.venice.stats
Class ServerConnectionStats
- java.lang.Object
-
- com.linkedin.venice.stats.AbstractVeniceStats
-
- com.linkedin.venice.stats.ServerConnectionStats
-
public class ServerConnectionStats extends AbstractVeniceStats
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
CLIENT_CONNECTION_COUNT_GAUGE
static java.lang.String
CLIENT_CONNECTION_REQUEST
static java.lang.String
ROUTER_CONNECTION_COUNT_GAUGE
static java.lang.String
ROUTER_CONNECTION_REQUEST
-
Fields inherited from class com.linkedin.venice.stats.AbstractVeniceStats
DELIMITER
-
-
Constructor Summary
Constructors Constructor Description ServerConnectionStats(io.tehuti.metrics.MetricsRepository metricsRepository, java.lang.String name)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
decrementClientConnectionCount()
void
decrementRouterConnectionCount()
void
incrementClientConnectionCount()
void
incrementRouterConnectionCount()
-
Methods inherited from class com.linkedin.venice.stats.AbstractVeniceStats
avgAndMax, avgAndTotal, getMetricsRepository, getName, getSensorFullName, getSensorFullName, isTotalStats, minAndMax, registerOnlyTotalRate, registerOnlyTotalSensor, registerPerStoreAndTotalSensor, registerSensor, registerSensor, registerSensor, registerSensor, registerSensorAttributeGauge, registerSensorIfAbsent, registerSensorIfAbsent, registerSensorIfAbsent, registerSensorWithAggregate, registerSensorWithAggregate, unregisterAllSensors
-
-
-
-
Field Detail
-
ROUTER_CONNECTION_REQUEST
public static final java.lang.String ROUTER_CONNECTION_REQUEST
- See Also:
- Constant Field Values
-
ROUTER_CONNECTION_COUNT_GAUGE
public static final java.lang.String ROUTER_CONNECTION_COUNT_GAUGE
- See Also:
- Constant Field Values
-
CLIENT_CONNECTION_REQUEST
public static final java.lang.String CLIENT_CONNECTION_REQUEST
- See Also:
- Constant Field Values
-
CLIENT_CONNECTION_COUNT_GAUGE
public static final java.lang.String CLIENT_CONNECTION_COUNT_GAUGE
- See Also:
- Constant Field Values
-
-
Method Detail
-
incrementRouterConnectionCount
public void incrementRouterConnectionCount()
-
decrementRouterConnectionCount
public void decrementRouterConnectionCount()
-
incrementClientConnectionCount
public void incrementClientConnectionCount()
-
decrementClientConnectionCount
public void decrementClientConnectionCount()
-
-