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

fr.ippon.measures.GaugeMeasure 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.Gauge;

public class GaugeMeasure extends Measure {

    private Object value;

    public GaugeMeasure(String name, Gauge gauge) {
        super(name, "gauge");
        this.value = gauge.getValue();
    }

    public Object getValue() {
        return value;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy