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
public class MultiKeyResponseStats extends AbstractReadResponseStats
-
-
Field Summary
-
Fields inherited from class com.linkedin.venice.listener.response.stats.AbstractReadResponseStats
multiChunkLargeValueCount
-
-
Constructor Summary
Constructors Constructor Description MultiKeyResponseStats()
-
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
merge(ReadResponseStatsRecorder other)
Merge the stats contained in this instance with those contained in the {@param other} 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
-
-
-
-
Method Detail
-
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
public void merge(ReadResponseStatsRecorder other)
Description copied from interface:ReadResponseStatsRecorder
Merge the stats contained in this instance with those contained in the {@param other} instance.- Specified by:
merge
in interfaceReadResponseStatsRecorder
- Overrides:
merge
in classAbstractReadResponseStats
- Parameters:
other
- instance to merge with.
-
-