Class MeasurementCollector<T extends MeasurementEvent>

java.lang.Object
io.debezium.metrics.stats.MeasurementCollector<T>
All Implemented Interfaces:
Consumer<T>

public class MeasurementCollector<T extends MeasurementEvent> extends Object implements Consumer<T>
Single point for submitting all kind of measurements. Implementation needs to take into account that some statistics processing methods may be blocking and therefore needs to handle it in a way that prevents any contention during record processing, e.g. processing measurement events in a dedicated thread.
Author:
vjuranek