Class SingleGetResponseStats
java.lang.Object
com.linkedin.venice.listener.response.stats.AbstractReadResponseStats
com.linkedin.venice.listener.response.stats.SingleGetResponseStats
- All Implemented Interfaces:
ReadResponseStats
,ReadResponseStatsRecorder
-
Field Summary
Fields inherited from class com.linkedin.venice.listener.response.stats.AbstractReadResponseStats
multiChunkLargeValueCount
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addKeySize
(int size) void
addValueSize
(int size) protected int
void
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
-
Constructor Details
-
SingleGetResponseStats
public SingleGetResponseStats()
-
-
Method Details
-
addKeySize
public void addKeySize(int size) -
addValueSize
public void addValueSize(int size) -
getRecordCount
protected int getRecordCount()- Specified by:
getRecordCount
in classAbstractReadResponseStats
-
recordMetrics
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.
-