Class HistoStatsLogger

java.lang.Object
io.nosqlbench.engine.api.metrics.CapabilityHook<HdrDeltaHistogramAttachment>
io.nosqlbench.engine.api.metrics.HistoStatsLogger
All Implemented Interfaces:
com.codahale.metrics.MetricRegistryListener, MetricsCloseable, java.lang.Runnable, java.util.EventListener

public class HistoStatsLogger
extends CapabilityHook<HdrDeltaHistogramAttachment>
implements java.lang.Runnable, MetricsCloseable
HistoIntervalLogger runs a separate thread to snapshotAndWrite encoded histograms on a regular interval. It listens to the metrics registry for any new metrics that match the pattern. Any metrics which both match the pattern and which are EncodableHistograms are written the configured logfile at the configured interval.