org.qi4j.library.circuitbreaker
Class CircuitBreakers
java.lang.Object
org.qi4j.library.circuitbreaker.CircuitBreakers
public class CircuitBreakers
- extends Object
CircuitBreaker helper methods.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CircuitBreakers
public CircuitBreakers()
withBreaker
public static <Item,ReceiverThrowable extends Throwable> Output<Item,ReceiverThrowable> withBreaker(CircuitBreaker breaker,
Output<Item,ReceiverThrowable> output)
in
public static Specification<Throwable> in(Class<? extends Throwable>... throwables)
- Allow all throwables that are equal to or subclasses of given list of throwables.
- Parameters:
throwables
-
- Returns:
rootCause
public static Specification<Throwable> rootCause(Specification<Throwable> specification)