Class Breaker.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<Breaker.Builder>
co.elastic.clients.elasticsearch.nodes.Breaker.Builder
- All Implemented Interfaces:
WithJson<Breaker.Builder>,ObjectBuilder<Breaker>
- Enclosing class:
- Breaker
public static class Breaker.Builder
extends WithJsonObjectBuilderBase<Breaker.Builder>
implements ObjectBuilder<Breaker>
Builder for
Breaker.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds aBreaker.final Breaker.BuilderestimatedSize(String value) Estimated memory used for the operation.final Breaker.BuilderestimatedSizeInBytes(Long value) Estimated memory used, in bytes, for the operation.final Breaker.BuilderMemory limit for the circuit breaker.final Breaker.BuilderlimitSizeInBytes(Long value) Memory limit, in bytes, for the circuit breaker.final Breaker.BuilderA constant that all estimates for the circuit breaker are multiplied with to calculate a final estimate.protected Breaker.Builderself()final Breaker.BuilderTotal number of times the circuit breaker has been triggered and prevented an out of memory error.Methods inherited from class co.elastic.clients.util.WithJsonObjectBuilderBase
withJsonMethods inherited from class co.elastic.clients.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAll
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
estimatedSize
Estimated memory used for the operation.API name:
estimated_size -
estimatedSizeInBytes
Estimated memory used, in bytes, for the operation.API name:
estimated_size_in_bytes -
limitSize
Memory limit for the circuit breaker.API name:
limit_size -
limitSizeInBytes
Memory limit, in bytes, for the circuit breaker.API name:
limit_size_in_bytes -
overhead
A constant that all estimates for the circuit breaker are multiplied with to calculate a final estimate.API name:
overhead -
tripped
Total number of times the circuit breaker has been triggered and prevented an out of memory error.API name:
tripped -
self
- Specified by:
selfin classWithJsonObjectBuilderBase<Breaker.Builder>
-
build
Builds aBreaker.- Specified by:
buildin interfaceObjectBuilder<Breaker>- Throws:
NullPointerException- if some of the required fields are null.
-