Class Breaker.Builder
java.lang.Object
org.opensearch.client.util.ObjectBuilderBase
org.opensearch.client.opensearch.nodes.stats.Breaker.Builder
- All Implemented Interfaces:
CopyableBuilder<Breaker.Builder,,Breaker> MutableBuilder<Breaker.Builder,,Breaker> ObjectBuilder<Breaker>
- Enclosing class:
Breaker
public static class Breaker.Builder
extends ObjectBuilderBase
implements CopyableBuilder<Breaker.Builder,Breaker>
Builder for
Breaker.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds aBreaker.copy()Create a new builderCopyableBuilderthat is a copy of this one.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.final Breaker.BuilderTotal number of times the circuit breaker has been triggered and prevented an out of memory error.Methods inherited from class org.opensearch.client.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _listCopy, _mapCopy, _mapPut, _mapPutAllMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.opensearch.client.util.MutableBuilder
applyMutation
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
copy
Description copied from interface:CopyableBuilderCreate a new builderCopyableBuilderthat is a copy of this one.- Specified by:
copyin interfaceCopyableBuilder<Breaker.Builder,Breaker> - Returns:
- a new builder instance.
-
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 -
build
Builds aBreaker.- Specified by:
buildin interfaceObjectBuilder<Breaker>- Throws:
NullPointerException- if some of the required fields are null.
-