Package com.linkedin.venice.router.stats
Class AggHostHealthStats
- java.lang.Object
-
- com.linkedin.venice.stats.AbstractVeniceAggStats<HostHealthStats>
-
- com.linkedin.venice.router.stats.AggHostHealthStats
-
public class AggHostHealthStats extends AbstractVeniceAggStats<HostHealthStats>
-
-
Field Summary
-
Fields inherited from class com.linkedin.venice.stats.AbstractVeniceAggStats
STORE_NAME_FOR_TOTAL_STAT, storeStats, totalStats
-
-
Constructor Summary
Constructors Constructor Description AggHostHealthStats(java.lang.String clusterName, io.tehuti.metrics.MetricsRepository metricsRepository)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
recordLeakedPendingRequestCount(java.lang.String hostName)
void
recordPendingRequestCount(java.lang.String hostName, long cnt)
void
recordPendingRequestUnhealthyDuration(java.lang.String hostName, double duration)
void
recordUnhealthyHostCountCausedByPendingQueue(int count)
void
recordUnhealthyHostCountCausedByRouterHeartBeat(int count)
void
recordUnhealthyHostDelayJoin(java.lang.String hostName)
void
recordUnhealthyHostHeartBeatFailure(java.lang.String hostName)
void
recordUnhealthyHostOfflineInstance(java.lang.String hostName)
void
recordUnhealthyHostTooManyPendingRequest(java.lang.String hostName)
-
Methods inherited from class com.linkedin.venice.stats.AbstractVeniceAggStats
getNullableStoreStats, getStoreStats, getTotalStats, setStatsSupplier
-
-
-
-
Method Detail
-
recordUnhealthyHostOfflineInstance
public void recordUnhealthyHostOfflineInstance(java.lang.String hostName)
-
recordUnhealthyHostTooManyPendingRequest
public void recordUnhealthyHostTooManyPendingRequest(java.lang.String hostName)
-
recordUnhealthyHostHeartBeatFailure
public void recordUnhealthyHostHeartBeatFailure(java.lang.String hostName)
-
recordPendingRequestCount
public void recordPendingRequestCount(java.lang.String hostName, long cnt)
-
recordLeakedPendingRequestCount
public void recordLeakedPendingRequestCount(java.lang.String hostName)
-
recordPendingRequestUnhealthyDuration
public void recordPendingRequestUnhealthyDuration(java.lang.String hostName, double duration)
-
recordUnhealthyHostCountCausedByPendingQueue
public void recordUnhealthyHostCountCausedByPendingQueue(int count)
-
recordUnhealthyHostCountCausedByRouterHeartBeat
public void recordUnhealthyHostCountCausedByRouterHeartBeat(int count)
-
recordUnhealthyHostDelayJoin
public void recordUnhealthyHostDelayJoin(java.lang.String hostName)
-
-