Package com.linkedin.davinci.stats
Class ParticipantStateTransitionStats
java.lang.Object
com.linkedin.venice.stats.AbstractVeniceStats
com.linkedin.venice.stats.ThreadPoolStats
com.linkedin.davinci.stats.ParticipantStateTransitionStats
This class is used to track the thread pool stats for the state transitions of the participant.
Besides the thread pool stats, it also tracks the number of threads that are blocked on the state transition
from OFFLINE to DROPPED.
-
Field Summary
Fields inherited from class com.linkedin.venice.stats.AbstractVeniceStats
DELIMITER
-
Constructor Summary
ConstructorDescriptionParticipantStateTransitionStats
(io.tehuti.metrics.MetricsRepository metricsRepository, ThreadPoolExecutor threadPoolExecutor, String name) -
Method Summary
Modifier and TypeMethodDescriptionvoid
void
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
-
ParticipantStateTransitionStats
public ParticipantStateTransitionStats(io.tehuti.metrics.MetricsRepository metricsRepository, ThreadPoolExecutor threadPoolExecutor, String name)
-
-
Method Details
-
incrementThreadBlockedOnOfflineToDroppedTransitionCount
public void incrementThreadBlockedOnOfflineToDroppedTransitionCount() -
decrementThreadBlockedOnOfflineToDroppedTransitionCount
public void decrementThreadBlockedOnOfflineToDroppedTransitionCount()
-