All Downloads are FREE. Search and download functionalities are using the official Maven repository.

fr.ippon.measures.HistogramMeasure Maven / Gradle / Ivy

Go to download

A reporter for Apache Spark which announces measurements to a Spark Streaming application.

There is a newer version: 1.1
Show newest version
package fr.ippon.measures;

import com.codahale.metrics.Histogram;

public class HistogramMeasure extends SnapshotMeasure {

    private Long count;

    public HistogramMeasure(String name, Histogram histogram) {
        super(name, "histogram", histogram.getSnapshot());
        this.count = histogram.getCount();
    }

    public Long getCount() {
        return count;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy