Skip navigation links
C D E F G H I N O R S T V 

C

CircuitBreaker - Interface in io.vertx.circuitbreaker
An implementation of the circuit breaker pattern for Vert.x
CircuitBreakerOptions - Class in io.vertx.circuitbreaker
Circuit breaker configuration options.
CircuitBreakerOptions() - Constructor for class io.vertx.circuitbreaker.CircuitBreakerOptions
Creates a new instance of CircuitBreakerOptions using the default values.
CircuitBreakerOptions(CircuitBreakerOptions) - Constructor for class io.vertx.circuitbreaker.CircuitBreakerOptions
Creates a new instance of CircuitBreakerOptions by copying the other instance.
CircuitBreakerOptions(JsonObject) - Constructor for class io.vertx.circuitbreaker.CircuitBreakerOptions
Creates a new instance of CircuitBreakerOptions from the given json object.
CircuitBreakerOptionsConverter - Class in io.vertx.circuitbreaker
Converter for CircuitBreakerOptions.
CircuitBreakerOptionsConverter() - Constructor for class io.vertx.circuitbreaker.CircuitBreakerOptionsConverter
 
CircuitBreakerState - Enum in io.vertx.circuitbreaker
Circuit breaker states.
close() - Method in interface io.vertx.circuitbreaker.CircuitBreaker
Closes the circuit breaker.
closeHandler(Handler<Void>) - Method in interface io.vertx.circuitbreaker.CircuitBreaker
Sets a Handler invoked when the circuit breaker state switches to close.
create(String, Vertx, CircuitBreakerOptions) - Static method in interface io.vertx.circuitbreaker.CircuitBreaker
Creates a new instance of CircuitBreaker.
create(String, Vertx) - Static method in interface io.vertx.circuitbreaker.CircuitBreaker
Creates a new instance of CircuitBreaker, with default options.
create(Vertx) - Static method in interface io.vertx.circuitbreaker.HystrixMetricHandler
Creates the handler, using the default notification address.
create(Vertx, String) - Static method in interface io.vertx.circuitbreaker.HystrixMetricHandler
Creates the handler.

D

DEFAULT_FALLBACK_ON_FAILURE - Static variable in class io.vertx.circuitbreaker.CircuitBreakerOptions
Default value of the fallback on failure property.
DEFAULT_MAX_FAILURES - Static variable in class io.vertx.circuitbreaker.CircuitBreakerOptions
Default number of failures.
DEFAULT_METRICS_ROLLING_WINDOW - Static variable in class io.vertx.circuitbreaker.CircuitBreakerOptions
Default rolling window for metrics in milliseconds.
DEFAULT_NOTIFICATION_ADDRESS - Static variable in class io.vertx.circuitbreaker.CircuitBreakerOptions
Default address on which the circuit breakers are sending their update.
DEFAULT_NOTIFICATION_PERIOD - Static variable in class io.vertx.circuitbreaker.CircuitBreakerOptions
Default notification period in milliseconds.
DEFAULT_RESET_TIMEOUT - Static variable in class io.vertx.circuitbreaker.CircuitBreakerOptions
Default time before it attempts to re-close the circuit (half-open state) in milliseconds.
DEFAULT_TIMEOUT - Static variable in class io.vertx.circuitbreaker.CircuitBreakerOptions
Default timeout in milliseconds.

E

execute(Handler<Future<T>>) - Method in interface io.vertx.circuitbreaker.CircuitBreaker
Same as CircuitBreaker.executeWithFallback(Handler, Function) but using the circuit breaker default fallback.
executeAndReport(Future<T>, Handler<Future<T>>) - Method in interface io.vertx.circuitbreaker.CircuitBreaker
Same as CircuitBreaker.executeAndReportWithFallback(Future, Handler, Function) but using the circuit breaker default fallback.
executeAndReportWithFallback(Future<T>, Handler<Future<T>>, Function<Throwable, T>) - Method in interface io.vertx.circuitbreaker.CircuitBreaker
Executes the given operation with the circuit breaker control.
executeCommand(Handler<Future<T>>, Handler<AsyncResult<T>>) - Method in interface io.vertx.circuitbreaker.CircuitBreaker
Same as CircuitBreaker.executeWithFallback(Handler, Function) but using the circuit breaker default fallback.
executeCommandWithFallback(Handler<Future<T>>, Function<Throwable, T>, Handler<AsyncResult<T>>) - Method in interface io.vertx.circuitbreaker.CircuitBreaker
executeWithFallback(Handler<Future<T>>, Function<Throwable, T>) - Method in interface io.vertx.circuitbreaker.CircuitBreaker
Executes the given operation with the circuit breaker control.

F

failureCount() - Method in interface io.vertx.circuitbreaker.CircuitBreaker
 
fallback(Function<Throwable, T>) - Method in interface io.vertx.circuitbreaker.CircuitBreaker
Sets a default Function invoked when the bridge is open to handle the "request", or on failure if CircuitBreakerOptions.isFallbackOnFailure() is enabled.
fromJson(JsonObject, CircuitBreakerOptions) - Static method in class io.vertx.circuitbreaker.CircuitBreakerOptionsConverter
 

G

getMaxFailures() - Method in class io.vertx.circuitbreaker.CircuitBreakerOptions
 
getMaxRetries() - Method in class io.vertx.circuitbreaker.CircuitBreakerOptions
 
getMetricsRollingWindow() - Method in class io.vertx.circuitbreaker.CircuitBreakerOptions
 
getNotificationAddress() - Method in class io.vertx.circuitbreaker.CircuitBreakerOptions
 
getNotificationPeriod() - Method in class io.vertx.circuitbreaker.CircuitBreakerOptions
 
getResetTimeout() - Method in class io.vertx.circuitbreaker.CircuitBreakerOptions
 
getTimeout() - Method in class io.vertx.circuitbreaker.CircuitBreakerOptions
 

H

halfOpenHandler(Handler<Void>) - Method in interface io.vertx.circuitbreaker.CircuitBreaker
Sets a Handler invoked when the circuit breaker state switches to half-open.
HystrixMetricHandler - Interface in io.vertx.circuitbreaker
A Vert.x web handler to expose the circuit breaker to the Hystrix dasbboard.

I

io.vertx.circuitbreaker - package io.vertx.circuitbreaker
== Vert.x Circuit Breaker Vert.x Circuit Breaker is an implementation of the Circuit Breaker _pattern_ for Vert.x.
isFallbackOnFailure() - Method in class io.vertx.circuitbreaker.CircuitBreakerOptions
 

N

name() - Method in interface io.vertx.circuitbreaker.CircuitBreaker
 

O

open() - Method in interface io.vertx.circuitbreaker.CircuitBreaker
Explicitly opens the circuit.
openHandler(Handler<Void>) - Method in interface io.vertx.circuitbreaker.CircuitBreaker
Sets a Handler invoked when the circuit breaker state switches to open.

R

reset() - Method in interface io.vertx.circuitbreaker.CircuitBreaker
Resets the circuit breaker state (number of failure set to 0 and state set to closed).

S

setFallbackOnFailure(boolean) - Method in class io.vertx.circuitbreaker.CircuitBreakerOptions
Sets whether or not the fallback is executed on failure, even when the circuit is closed.
setMaxFailures(int) - Method in class io.vertx.circuitbreaker.CircuitBreakerOptions
Sets the maximum number of failures before opening the circuit.
setMaxRetries(int) - Method in class io.vertx.circuitbreaker.CircuitBreakerOptions
Configures the number of times the circuit breaker tries to redo the operation before failing.
setMetricsRollingWindow(long) - Method in class io.vertx.circuitbreaker.CircuitBreakerOptions
Sets the rolling window used for metrics.
setNotificationAddress(String) - Method in class io.vertx.circuitbreaker.CircuitBreakerOptions
Sets the event bus address on which the circuit breaker publish its state change.
setNotificationPeriod(long) - Method in class io.vertx.circuitbreaker.CircuitBreakerOptions
Configures the period in milliseconds where the circuit breaker send a notification on the event bus with its current state.
setResetTimeout(long) - Method in class io.vertx.circuitbreaker.CircuitBreakerOptions
Sets the time in ms before it attempts to re-close the circuit (by going to the hal-open state).
setTimeout(long) - Method in class io.vertx.circuitbreaker.CircuitBreakerOptions
Sets the timeout in milliseconds.
state() - Method in interface io.vertx.circuitbreaker.CircuitBreaker
 

T

toJson() - Method in class io.vertx.circuitbreaker.CircuitBreakerOptions
 
toJson(CircuitBreakerOptions, JsonObject) - Static method in class io.vertx.circuitbreaker.CircuitBreakerOptionsConverter
 

V

valueOf(String) - Static method in enum io.vertx.circuitbreaker.CircuitBreakerState
Returns the enum constant of this type with the specified name.
values() - Static method in enum io.vertx.circuitbreaker.CircuitBreakerState
Returns an array containing the constants of this enum type, in the order they are declared.
C D E F G H I N O R S T V 
Skip navigation links

Copyright © 2017. All rights reserved.