Class Breaker
java.lang.Object
org.opensearch.client.opensearch.nodes.stats.Breaker
- All Implemented Interfaces:
JsonpSerializable,PlainJsonSerializable,ToCopyableBuilder<Breaker.Builder,Breaker>
@JsonpDeserializable
@Generated("org.opensearch.client.codegen.CodeGenerator")
public class Breaker
extends Object
implements PlainJsonSerializable, ToCopyableBuilder<Breaker.Builder,Breaker>
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<Breaker> Json deserializer forBreaker -
Method Summary
Modifier and TypeMethodDescriptionstatic Breaker.Builderbuilder()booleanfinal StringEstimated memory used for the operation.final LongEstimated memory used, in bytes, for the operation.inthashCode()final StringMemory limit for the circuit breaker.final LongMemory limit, in bytes, for the circuit breaker.static Breakerfinal Doubleoverhead()A constant that all estimates for the circuit breaker are multiplied with to calculate a final estimate.voidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static voidCreate a new builderToCopyableBuilderthat is initialised with the current state of this object.final Longtripped()Total number of times the circuit breaker has been triggered and prevented an out of memory error.Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.opensearch.client.json.PlainJsonSerializable
toJsonStringMethods inherited from interface org.opensearch.client.util.ToCopyableBuilder
copy
-
Field Details
-
_DESERIALIZER
Json deserializer forBreaker
-
-
Method Details
-
of
-
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 -
serialize
Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
-
toBuilder
Description copied from interface:ToCopyableBuilderCreate a new builderToCopyableBuilderthat is initialised with the current state of this object.- Specified by:
toBuilderin interfaceToCopyableBuilder<Breaker.Builder,Breaker> - Returns:
- a new builder instance.
-
builder
-
setupBreakerDeserializer
-
hashCode
public int hashCode() -
equals
-