Class BreakerSettings
java.lang.Object
org.elasticsearch.indices.breaker.BreakerSettings
Settings for a
CircuitBreaker
-
Field Summary
Modifier and TypeFieldDescriptionstatic final Setting.AffixSetting<ByteSizeValue>
static final Setting.AffixSetting<Double>
static final Setting.AffixSetting<CircuitBreaker.Type>
-
Constructor Summary
ConstructorDescriptionBreakerSettings
(String name, long limitBytes, double overhead) BreakerSettings
(String name, long limitBytes, double overhead, CircuitBreaker.Type type, CircuitBreaker.Durability durability) -
Method Summary
Modifier and TypeMethodDescriptionlong
getLimit()
getName()
double
getType()
toString()
static BreakerSettings
updateFromSettings
(BreakerSettings defaultSettings, Settings currentSettings)
-
Field Details
-
CIRCUIT_BREAKER_LIMIT_SETTING
-
CIRCUIT_BREAKER_OVERHEAD_SETTING
-
CIRCUIT_BREAKER_TYPE
-
-
Constructor Details
-
BreakerSettings
-
BreakerSettings
public BreakerSettings(String name, long limitBytes, double overhead, CircuitBreaker.Type type, CircuitBreaker.Durability durability)
-
-
Method Details
-
updateFromSettings
public static BreakerSettings updateFromSettings(BreakerSettings defaultSettings, Settings currentSettings) -
getName
-
getLimit
public long getLimit() -
getOverhead
public double getOverhead() -
getType
-
getDurability
-
toString
-