Class AbstractReadResponseStats

java.lang.Object
com.linkedin.venice.listener.response.stats.AbstractReadResponseStats
All Implemented Interfaces:
ReadResponseStats, ReadResponseStatsRecorder
Direct Known Subclasses:
MultiKeyResponseStats, SingleGetResponseStats

public abstract class AbstractReadResponseStats extends Object implements ReadResponseStats, ReadResponseStatsRecorder
This abstract class is the container for response stats. The stats can be accumulated via the APIs provided by ReadResponseStats, and then recorded using the API from ReadResponseStatsRecorder. The class hierarchy aims to minimize the amount of state required for any given response, based on its type and relevant server configs: - AbstractReadResponseStats +-- SingleGetResponseStats +-- MultiKeyResponseStats +-- MultiGetResponseStatsWithSizeProfiling +-- ComputeResponseStats +-- ComputeResponseStatsWithSizeProfiling