Class BreakerSettings
- java.lang.Object
-
- org.elasticsearch.indices.breaker.BreakerSettings
-
public class BreakerSettings extends java.lang.Object
Settings for aCircuitBreaker
-
-
Constructor Summary
Constructors Constructor Description BreakerSettings(java.lang.String name, long limitBytes, double overhead)
BreakerSettings(java.lang.String name, long limitBytes, double overhead, CircuitBreaker.Type type)
-
Method Summary
Modifier and Type Method Description long
getLimit()
java.lang.String
getName()
double
getOverhead()
CircuitBreaker.Type
getType()
java.lang.String
toString()
-
-
-
Constructor Detail
-
BreakerSettings
public BreakerSettings(java.lang.String name, long limitBytes, double overhead)
-
BreakerSettings
public BreakerSettings(java.lang.String name, long limitBytes, double overhead, CircuitBreaker.Type type)
-
-
Method Detail
-
getName
public java.lang.String getName()
-
getLimit
public long getLimit()
-
getOverhead
public double getOverhead()
-
getType
public CircuitBreaker.Type getType()
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-