## Uses of Class
io.vertx.reactivex.circuitbreaker.CircuitBreaker

- Packages that use CircuitBreaker
  Package | Description
  --- | ---
  io.vertx.reactivex.circuitbreaker |

- - ### Uses of CircuitBreaker in io.vertx.reactivex.circuitbreaker

    Fields in io.vertx.reactivex.circuitbreaker with type parameters of type CircuitBreaker
    Modifier and Type | Field | Description
    --- | --- | ---
    `static io.vertx.lang.rx.TypeArg<CircuitBreaker>` | CircuitBreaker.`__TYPE_ARG` |

    Methods in io.vertx.reactivex.circuitbreaker that return CircuitBreaker
    Modifier and Type | Method | Description
    --- | --- | ---
    `CircuitBreaker` | CircuitBreaker.`close()` | Closes the circuit breaker.
    `CircuitBreaker` | CircuitBreaker.`closeHandler​(Handler<Void> handler)` | Sets a to be invoked when the circuit breaker state switches to closed.
    `static CircuitBreaker` | CircuitBreaker.`create​(String name, Vertx vertx)` | Creates a new instance of `CircuitBreaker`, with default options.
    `static CircuitBreaker` | CircuitBreaker.`create​(String name, Vertx vertx, CircuitBreakerOptions options)` | Creates a new instance of `CircuitBreaker`.
    `<T> CircuitBreaker` | CircuitBreaker.`executeAndReport​(Promise<T> resultPromise, Handler<Promise<T>> command)` | Same as `executeAndReportWithFallback(io.vertx.reactivex.core.Promise<T>, io.vertx.core.Handler<io.vertx.reactivex.core.Promise<T>>, java.util.function.Function<java.lang.Throwable, T>)` but using the circuit breaker .
    `<T> CircuitBreaker` | CircuitBreaker.`executeAndReportWithFallback​(Promise<T> resultPromise, Handler<Promise<T>> command, java.util.function.Function<Throwable,​T> fallback)` | Executes the given operation with the circuit breaker control.
    `<T> CircuitBreaker` | CircuitBreaker.`failurePolicy​(FailurePolicy<T> failurePolicy)` | Configures the failure policy for this circuit-breaker.
    `<T> CircuitBreaker` | CircuitBreaker.`fallback​(java.util.function.Function<Throwable,​T> handler)` | Sets a default fallback to be invoked when the circuit breaker is open or when failure occurs and `CircuitBreakerOptions` is enabled.
    `CircuitBreaker` | CircuitBreaker.`halfOpenHandler​(Handler<Void> handler)` | Sets a to be invoked when the circuit breaker state switches to half-open.
    `static CircuitBreaker` | CircuitBreaker.`newInstance​(CircuitBreaker arg)` |
    `CircuitBreaker` | CircuitBreaker.`open()` | Explicitly opens the circuit breaker.
    `CircuitBreaker` | CircuitBreaker.`openHandler​(Handler<Void> handler)` | Sets a to be invoked when the circuit breaker state switches to open.
    `CircuitBreaker` | CircuitBreaker.`reset()` | Resets the circuit breaker state.
    `CircuitBreaker` | CircuitBreaker.`retryPolicy​(RetryPolicy retryPolicy)` | Set a `RetryPolicy` which computes a delay before a retry attempt.
    `CircuitBreaker` | CircuitBreaker.`retryPolicy​(java.util.function.Function<Integer,​Long> retryPolicy)` | Deprecated.