Skip navigation links
C D E F G H I L 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.
constantDelay(long) - Static method in interface io.vertx.circuitbreaker.RetryPolicy
Create a constant delay retry policy.
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 and listening to local messages only.
create(Vertx, String) - Static method in interface io.vertx.circuitbreaker.HystrixMetricHandler
Creates the handler, listening only to local messages.
create(Vertx, String, boolean) - 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
A default address on which the circuit breakers can send their updates.
DEFAULT_NOTIFICATION_LOCAL_ONLY - Static variable in class io.vertx.circuitbreaker.CircuitBreakerOptions
Whether circuit breaker state should be delivered only to local consumers by default = true.
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.
defaultPolicy() - Static method in interface io.vertx.circuitbreaker.FailurePolicy
The default policy, which considers an asynchronous result as a failure if AsyncResult.failed() returns true.
delay(Throwable, int) - Method in interface io.vertx.circuitbreaker.RetryPolicy
Compute a delay in milliseconds before retry is executed.

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
exponentialDelayWithJitter(long, long) - Static method in interface io.vertx.circuitbreaker.RetryPolicy
Create an exponential delay with jitter retry policy.

F

failureCount() - Method in interface io.vertx.circuitbreaker.CircuitBreaker
 
failurePolicy(FailurePolicy<T>) - Method in interface io.vertx.circuitbreaker.CircuitBreaker
Configures the failure policy for this circuit-breaker.
FailurePolicy<T> - Interface in io.vertx.circuitbreaker
A failure policy for the 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.

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
 
isNotificationLocalOnly() - Method in class io.vertx.circuitbreaker.CircuitBreakerOptions
 

L

linearDelay(long, long) - Static method in interface io.vertx.circuitbreaker.RetryPolicy
Create a linear delay retry policy.

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
retryPolicy(RetryPolicy) - Method in interface io.vertx.circuitbreaker.CircuitBreaker
Set a RetryPolicy which computes a delay before retry execution.
RetryPolicy - Interface in io.vertx.circuitbreaker
A policy for retry execution.

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.
setNotificationLocalOnly(boolean) - Method in class io.vertx.circuitbreaker.CircuitBreakerOptions
Whether circuit breaker state should be delivered only to local consumers.
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

test(Future<T>) - Method in interface io.vertx.circuitbreaker.FailurePolicy
Invoked by the CircuitBreaker when an operation completes.
TimeoutException - Exception in io.vertx.circuitbreaker
Exception reported when the monitored operation timed out.
toJson() - Method in class io.vertx.circuitbreaker.CircuitBreakerOptions
 

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 L N O R S T V 
Skip navigation links

Copyright © 2024 Eclipse. All rights reserved.