public class CircuitBreakerUtils extends Object
Modifier and Type | Field and Description |
---|---|
static CircuitBreakerConfiguration |
DEFAULT_CIRCUIT_BREAKER_CONFIGURATION |
Constructor and Description |
---|
CircuitBreakerUtils() |
Modifier and Type | Method and Description |
---|---|
static CircuitBreakerConfiguration |
getDefaultCircuitBreakerConfiguration()
Get default CircuitBreakerConfiguration
|
static CircuitBreakerConfiguration |
getNoCircuitBreakerConfiguration() |
static CircuitBreakerConfiguration |
getUserDefinedCircuitBreakerConfiguration(ClientConfiguration configuration)
Gets the user defined CircuitBreakerConfiguration
|
static void |
setDefaultCircuitBreakerConfiguration(CircuitBreakerConfiguration defaultCircuitBreakerConfiguration) |
public static final CircuitBreakerConfiguration DEFAULT_CIRCUIT_BREAKER_CONFIGURATION
public static CircuitBreakerConfiguration getNoCircuitBreakerConfiguration()
public static CircuitBreakerConfiguration getDefaultCircuitBreakerConfiguration()
Get default CircuitBreakerConfiguration
public static CircuitBreakerConfiguration getUserDefinedCircuitBreakerConfiguration(ClientConfiguration configuration)
Gets the user defined CircuitBreakerConfiguration
public static void setDefaultCircuitBreakerConfiguration(CircuitBreakerConfiguration defaultCircuitBreakerConfiguration)
Copyright © 2016–2024. All rights reserved.