Package io.debezium.metrics.stats
Class LongDDSketchStatistics<T extends SingleValueEvent<Long>>
java.lang.Object
io.debezium.metrics.stats.LongDDSketchStatistics<T>
- All Implemented Interfaces:
MeasurementStatistics<T,,Long> Consumer<T>
@ThreadSafe
public class LongDDSketchStatistics<T extends SingleValueEvent<Long>>
extends Object
implements MeasurementStatistics<T,Long>
Implementation of
MeasurementStatistics which is backed by DDSketch library.- Author:
- vjuranek
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.debezium.metrics.stats.MeasurementStatistics
getValueAtP50, getValueAtP95, getValueAtP99
-
Field Details
-
sketch
private final com.datadoghq.sketch.ddsketch.DDSketch sketch
-
-
Constructor Details
-
LongDDSketchStatistics
public LongDDSketchStatistics()
-
-
Method Details
-
accept
- Specified by:
acceptin interfaceConsumer<T extends SingleValueEvent<Long>>
-
reset
public void reset()- Specified by:
resetin interfaceMeasurementStatistics<T extends SingleValueEvent<Long>,Long>
-
getValueAtQuantile
- Specified by:
getValueAtQuantilein interfaceMeasurementStatistics<T extends SingleValueEvent<Long>,Long>
-