Interface CircuitBreaker.CompletionCallback
- All Superinterfaces:
BiFunction<Response,
Throwable, Boolean>
- Enclosing interface:
- CircuitBreaker
public static interface CircuitBreaker.CompletionCallback
extends BiFunction<Response,Throwable,Boolean>
Defines if a request is considered a success or a failure.
If the apply method returns true it is considered a success, if false then a failure.
-
Method Summary
Methods inherited from interface java.util.function.BiFunction
andThen, apply