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

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

Go to download

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

There is a newer version: 0.0.19
Show newest version
package com.signalfuse.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