Class BreakerSettings
org.elasticsearch.indices.breaker.BreakerSettings
public final class BreakerSettings
extends
Settings for a
CircuitBreaker
-
Field Summary
-
Constructor Summary
ConstructorDescriptionname, long limitBytes, double overhead)
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)
Methods inherited from class java.lang.
, , , , , , , , ,
-
Field Details
-
CIRCUIT_BREAKER_LIMIT_SETTING
-
CIRCUIT_BREAKER_OVERHEAD_SETTING
public static final > CIRCUIT_BREAKER_OVERHEAD_SETTING -
CIRCUIT_BREAKER_TYPE
-
-
Constructor Details
-
BreakerSettings
public BreakerSettings( name, long limitBytes, double overhead) -
BreakerSettings
public BreakerSettings( name, long limitBytes, double overhead, CircuitBreaker.Type type, CircuitBreaker.Durability durability)
-
-
Method Details
-
updateFromSettings
public static BreakerSettings updateFromSettings(BreakerSettings defaultSettings, Settings currentSettings) -
getName
public getName() -
getLimit
public long getLimit() -
getOverhead
public double getOverhead() -
getType
-
getDurability
-
toString
public toString()- Overrides:
in class
-