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

com.signalfx.metrics.errorhandler.ExitOnSendError Maven / Gradle / Ivy

Go to download

Bare minimum core library needed to sending metrics to SignalFx from Java clients

The newest version!
package com.signalfx.metrics.errorhandler;

/**
 * Handler that calls exit() on any failure at all
 * 
 * @author jack
 */
public class ExitOnSendError implements OnSendErrorHandler {
    @Override
    public void handleError(MetricError metricError) {
        System.exit(1);
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy