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 SummaryConstructors
- 
Method SummaryModifier 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.WithJsonObjectBuilderBasewithJsonMethods inherited from class co.elastic.clients.util.ObjectBuilderBase_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAll
- 
Constructor Details- 
Builderpublic Builder()
 
- 
- 
Method Details- 
estimatedSizeEstimated memory used for the operation.API name: estimated_size
- 
estimatedSizeInBytesEstimated memory used, in bytes, for the operation.API name: estimated_size_in_bytes
- 
limitSizeMemory limit for the circuit breaker.API name: limit_size
- 
limitSizeInBytesMemory limit, in bytes, for the circuit breaker.API name: limit_size_in_bytes
- 
overheadA constant that all estimates for the circuit breaker are multiplied with to calculate a final estimate.API name: overhead
- 
trippedTotal number of times the circuit breaker has been triggered and prevented an out of memory error.API name: tripped
- 
self- Specified by:
- selfin class- WithJsonObjectBuilderBase<Breaker.Builder>
 
- 
buildBuilds aBreaker.- Specified by:
- buildin interface- ObjectBuilder<Breaker>
- Throws:
- NullPointerException- if some of the required fields are null.
 
 
-