Package net.bluemind.lib.vertx.utils
Class CircuitBreaker<T>
java.lang.Object
net.bluemind.lib.vertx.utils.CircuitBreaker<T>
- 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescription<R> CompletableFuture<R> <R> CompletableFuture<R> applyPromised(io.vertx.core.Vertx vertx, T partitionable, Supplier<CompletableFuture<R>> to) voidnoticeError(T errorSource) voidnoticeSuccess(T errorSource)  
- 
Constructor Details
- 
CircuitBreaker
 
 - 
 - 
Method Details
- 
noticeError
 - 
noticeSuccess
 - 
applyCall
public <R> CompletableFuture<R> applyCall(io.vertx.core.Vertx vertx, T partitionable, Callable<R> to)  - 
applyPromised
public <R> CompletableFuture<R> applyPromised(io.vertx.core.Vertx vertx, T partitionable, Supplier<CompletableFuture<R>> to)  
 -