com.wavefront.internal.reporter.Reporter Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of wavefront-internal-reporter-java Show documentation
Show all versions of wavefront-internal-reporter-java Show documentation
Internal reporter for reporting metrics and histograms to Wavefront
The newest version!
package com.wavefront.internal.reporter;
import java.util.concurrent.TimeUnit;
/**
* A reporter to report metrics/histograms to periodically Wavefront
*
* @author Sushant Dewan ([email protected]).
*/
public interface Reporter {
/**
* Start Wavefront Internal Reporter
*
* @param period How often you want to send metrics/histograms to Wavefront
* @param unit period time unit
*/
void start(long period, TimeUnit unit);
/**
* Get total failure count reported by this reporter
*
* @return total failure count
*/
int getFailureCount();
/**
* Stop the Wavefront Internal Reporter
*/
void stop();
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy