Class MultiKeyResponseStats
java.lang.Object
com.linkedin.venice.listener.response.stats.AbstractReadResponseStats
com.linkedin.venice.listener.response.stats.MultiKeyResponseStats
- All Implemented Interfaces:
ReadResponseStats
,ReadResponseStatsRecorder
- Direct Known Subclasses:
ComputeResponseStats
,MultiGetResponseStatsWithSizeProfiling
-
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
merge
(ReadResponseStatsRecorder other) Merge the stats contained in this instance with those contained in the instance.void
setRecordCount
(int count) Methods inherited from class com.linkedin.venice.listener.response.stats.AbstractReadResponseStats
addDatabaseLookupLatency, addReadComputeDeserializationLatency, addReadComputeLatency, addReadComputeOutputSize, addReadComputeSerializationLatency, getCurrentTimeInNanos, incrementCosineSimilarityCount, incrementCountOperatorCount, incrementDotProductCount, incrementHadamardProductCount, incrementMultiChunkLargeValueCount, isAssembledMultiChunkLargeValue, recordMetrics, recordUnmergedMetrics, setStorageExecutionQueueLen, setStorageExecutionSubmissionWaitTime
-
Constructor Details
-
MultiKeyResponseStats
public MultiKeyResponseStats()
-
-
Method Details
-
addKeySize
public void addKeySize(int size) -
addValueSize
public void addValueSize(int size) -
setRecordCount
public void setRecordCount(int count) -
getRecordCount
protected int getRecordCount()- Specified by:
getRecordCount
in classAbstractReadResponseStats
-
merge
Description copied from interface:ReadResponseStatsRecorder
Merge the stats contained in this instance with those contained in the instance.- Specified by:
merge
in interfaceReadResponseStatsRecorder
- Overrides:
merge
in classAbstractReadResponseStats
- Parameters:
other
- instance to merge with.
-