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

reactivefeign.retry.ReactiveRetryPolicy Maven / Gradle / Ivy

package reactivefeign.retry;

import feign.ExceptionPropagationPolicy;
import reactor.util.retry.Retry;

/**
 * @author Sergii Karpenko
 */
public interface ReactiveRetryPolicy {

    Retry retry();

    int maxAllowedRetries();

    interface Builder {
        ReactiveRetryPolicy build();
    }

    default ExceptionPropagationPolicy exceptionPropagationPolicy(){
        return ExceptionPropagationPolicy.NONE;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy