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 and mapper 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_BUCKETS - Static variable in class io.vertx.circuitbreaker.CircuitBreakerOptions
Default number of buckets used for the rolling window.
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<Promise<T>>) - Method in interface io.vertx.circuitbreaker.CircuitBreaker
Same as CircuitBreaker.executeWithFallback(Handler, Function) but using the circuit breaker default fallback.
execute(Handler<Promise<T>>, Handler<AsyncResult<T>>) - Method in interface io.vertx.circuitbreaker.CircuitBreaker
Same as CircuitBreaker.executeWithFallback(Handler, Function) but using the circuit breaker default fallback.
executeAndReport(Promise<T>, Handler<Promise<T>>) - Method in interface io.vertx.circuitbreaker.CircuitBreaker
Same as CircuitBreaker.executeAndReportWithFallback(Promise, Handler, Function) but using the circuit breaker default fallback.
executeAndReportWithFallback(Promise<T>, Handler<Promise<T>>, Function<Throwable, T>) - Method in interface io.vertx.circuitbreaker.CircuitBreaker
Executes the given operation with the circuit breaker control.
executeWithFallback(Handler<Promise<T>>, Function<Throwable, T>) - Method in interface io.vertx.circuitbreaker.CircuitBreaker
Executes the given operation with the circuit breaker control.
executeWithFallback(Handler<Promise<T>>, Function<Throwable, T>, Handler<AsyncResult<T>>) - Method in interface io.vertx.circuitbreaker.CircuitBreaker

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(Iterable<Map.Entry<String, Object>>, CircuitBreakerOptions) - Static method in class io.vertx.circuitbreaker.CircuitBreakerOptionsConverter
 

G

getFailuresRollingWindow() - Method in class io.vertx.circuitbreaker.CircuitBreakerOptions
 
getMaxFailures() - Method in class io.vertx.circuitbreaker.CircuitBreakerOptions
 
getMaxRetries() - Method in class io.vertx.circuitbreaker.CircuitBreakerOptions
 
getMetricsRollingBuckets() - 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

initCause(Throwable) - Method in exception io.vertx.circuitbreaker.OpenCircuitException
 
initCause(Throwable) - Method in exception io.vertx.circuitbreaker.TimeoutException
 
INSTANCE - Static variable in exception io.vertx.circuitbreaker.OpenCircuitException
 
INSTANCE - Static variable in exception io.vertx.circuitbreaker.TimeoutException
 
io.vertx.circuitbreaker - package io.vertx.circuitbreaker
 
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.
OpenCircuitException - Exception in io.vertx.circuitbreaker
Exception reported when the circuit breaker is open.
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).
retryPolicy(Function<Integer, Long>) - Method in interface io.vertx.circuitbreaker.CircuitBreaker
 

S

setFailuresRollingWindow(long) - Method in class io.vertx.circuitbreaker.CircuitBreakerOptions
Sets the rolling window used for metrics.
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.
setMetricsRollingBuckets(int) - Method in class io.vertx.circuitbreaker.CircuitBreakerOptions
Sets the configured number of buckets the rolling window is divided into.
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 half-open state).
setStackTrace(StackTraceElement[]) - Method in exception io.vertx.circuitbreaker.OpenCircuitException
 
setStackTrace(StackTraceElement[]) - Method in exception io.vertx.circuitbreaker.TimeoutException
 
setTimeout(long) - Method in class io.vertx.circuitbreaker.CircuitBreakerOptions
Sets the timeout in milliseconds.
state() - Method in interface io.vertx.circuitbreaker.CircuitBreaker
 

T

TimeoutException - Exception in io.vertx.circuitbreaker
Exception reported when the monitored operation timed out.
toJson() - Method in class io.vertx.circuitbreaker.CircuitBreakerOptions
 
toJson(CircuitBreakerOptions, JsonObject) - Static method in class io.vertx.circuitbreaker.CircuitBreakerOptionsConverter
 
toJson(CircuitBreakerOptions, Map<String, Object>) - 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 © 2020 Eclipse. All rights reserved.