com.signalfuse.metrics.errorhandler.ExitOnSendError Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of signalfuse-java Show documentation
Show all versions of signalfuse-java Show documentation
Bare minimum core library needed to sending metrics to SignalFuse from Java clients
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