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

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

Go to download

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

The newest version!
package fr.ippon.measures;

import com.codahale.metrics.Counter;

public class CounterMeasure extends Measure {

    private Long count;

    public CounterMeasure(String name, Counter counter) {
        super(name, "counter");
        this.count = counter.getCount();
    }

    public Long getCount() {
        return count;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy