Class Breaker
java.lang.Object
co.elastic.clients.elasticsearch.nodes.Breaker
- All Implemented Interfaces:
JsonpSerializable
@JsonpDeserializable public class Breaker extends java.lang.Object implements JsonpSerializable
- See Also:
- API specification
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Breaker.Builder
Builder forBreaker
. -
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<Breaker>
_DESERIALIZER
Json deserializer forBreaker
-
Method Summary
Modifier and Type Method Description java.lang.String
estimatedSize()
Required - API name:estimated_size
long
estimatedSizeInBytes()
Required - API name:estimated_size_in_bytes
java.lang.String
limitSize()
Required - API name:limit_size
long
limitSizeInBytes()
Required - API name:limit_size_in_bytes
static Breaker
of(java.util.function.Function<Breaker.Builder,ObjectBuilder<Breaker>> fn)
float
overhead()
Required - API name:overhead
void
serialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
Serialize this object to JSON.protected void
serializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
protected static void
setupBreakerDeserializer(ObjectDeserializer<Breaker.Builder> op)
float
tripped()
Required - API name:tripped
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
_DESERIALIZER
Json deserializer forBreaker
-
-
Method Details
-
of
-
estimatedSize
public final java.lang.String estimatedSize()Required - API name:estimated_size
-
estimatedSizeInBytes
public final long estimatedSizeInBytes()Required - API name:estimated_size_in_bytes
-
limitSize
public final java.lang.String limitSize()Required - API name:limit_size
-
limitSizeInBytes
public final long limitSizeInBytes()Required - API name:limit_size_in_bytes
-
overhead
public final float overhead()Required - API name:overhead
-
tripped
public final float tripped()Required - API name:tripped
-
serialize
Serialize this object to JSON.- Specified by:
serialize
in interfaceJsonpSerializable
-
serializeInternal
-
setupBreakerDeserializer
-