com.signalfx.connection.RetryDefaults Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of signalfx-java Show documentation
Show all versions of signalfx-java Show documentation
Bare minimum core library needed to sending metrics to SignalFx from Java clients
The newest version!
package com.signalfx.connection;
import java.io.IOException;
import java.io.InterruptedIOException;
import java.net.ConnectException;
import java.net.UnknownHostException;
import java.util.Arrays;
import java.util.Collections;
import java.util.List;
public final class RetryDefaults {
private RetryDefaults() {
}
public static final int DEFAULT_MAX_RETRIES = 3;
public static final List> DEFAULT_NON_RETRYABLE_EXCEPTIONS = Collections.unmodifiableList(Arrays.asList(
InterruptedIOException.class,
UnknownHostException.class,
ConnectException.class));
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy