Class SingleGetResponseStats
- java.lang.Object
-
- com.linkedin.venice.listener.response.stats.AbstractReadResponseStats
-
- com.linkedin.venice.listener.response.stats.SingleGetResponseStats
-
- All Implemented Interfaces:
ReadResponseStats
,ReadResponseStatsRecorder
public class SingleGetResponseStats extends AbstractReadResponseStats
-
-
Field Summary
-
Fields inherited from class com.linkedin.venice.listener.response.stats.AbstractReadResponseStats
multiChunkLargeValueCount
-
-
Constructor Summary
Constructors Constructor Description SingleGetResponseStats()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addKeySize(int size)
void
addValueSize(int size)
protected int
getRecordCount()
void
recordMetrics(ServerHttpRequestStats stats)
Record all metrics, including those which can and cannot be merged.-
Methods inherited from class com.linkedin.venice.listener.response.stats.AbstractReadResponseStats
addDatabaseLookupLatency, addReadComputeDeserializationLatency, addReadComputeLatency, addReadComputeOutputSize, addReadComputeSerializationLatency, getCurrentTimeInNanos, incrementCosineSimilarityCount, incrementCountOperatorCount, incrementDotProductCount, incrementHadamardProductCount, incrementMultiChunkLargeValueCount, isAssembledMultiChunkLargeValue, merge, recordUnmergedMetrics, setStorageExecutionQueueLen, setStorageExecutionSubmissionWaitTime
-
-
-
-
Method Detail
-
addKeySize
public void addKeySize(int size)
-
addValueSize
public void addValueSize(int size)
-
getRecordCount
protected int getRecordCount()
- Specified by:
getRecordCount
in classAbstractReadResponseStats
-
recordMetrics
public void recordMetrics(ServerHttpRequestStats stats)
Description copied from interface:ReadResponseStatsRecorder
Record all metrics, including those which can and cannot be merged.- Specified by:
recordMetrics
in interfaceReadResponseStatsRecorder
- Overrides:
recordMetrics
in classAbstractReadResponseStats
- Parameters:
stats
- theServerHttpRequestStats
object to record stats into.
-
-