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

io.smallrye.faulttolerance.api.FaultToleranceSpi Maven / Gradle / Ivy

There is a newer version: 6.4.1
Show newest version
package io.smallrye.faulttolerance.api;

import java.util.function.Function;

import io.smallrye.common.annotation.Experimental;

/**
 * This is an internal API. It may change incompatibly without notice.
 * It should not be used or implemented outside SmallRye Fault Tolerance.
 */
@Experimental("first attempt at providing programmatic API")
public interface FaultToleranceSpi {
    boolean applies();

    int priority();

     FaultTolerance.Builder newBuilder(Function, R> finisher);

     FaultTolerance.Builder newAsyncBuilder(Class asyncType, Function, R> finisher);

    CircuitBreakerMaintenance circuitBreakerMaintenance();
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy