Class IndexingPressureMemory
java.lang.Object
co.elastic.clients.elasticsearch.indices.IndexingPressureMemory
- All Implemented Interfaces:
JsonpSerializable
@JsonpDeserializable public class IndexingPressureMemory extends java.lang.Object implements JsonpSerializable
- See Also:
- API specification
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
IndexingPressureMemory.Builder
Builder forIndexingPressureMemory
. -
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<IndexingPressureMemory>
_DESERIALIZER
Json deserializer forIndexingPressureMemory
-
Method Summary
Modifier and Type Method Description java.lang.Integer
limit()
Number of outstanding bytes that may be consumed by indexing requests.static IndexingPressureMemory
of(java.util.function.Function<IndexingPressureMemory.Builder,ObjectBuilder<IndexingPressureMemory>> fn)
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
setupIndexingPressureMemoryDeserializer(ObjectDeserializer<IndexingPressureMemory.Builder> op)
java.lang.String
toString()
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Field Details
-
_DESERIALIZER
Json deserializer forIndexingPressureMemory
-
-
Method Details
-
of
public static IndexingPressureMemory of(java.util.function.Function<IndexingPressureMemory.Builder,ObjectBuilder<IndexingPressureMemory>> fn) -
limit
@Nullable public final java.lang.Integer limit()Number of outstanding bytes that may be consumed by indexing requests. When this limit is reached or exceeded, the node will reject new coordinating and primary operations. When replica operations consume 1.5x this limit, the node will reject new replica operations. Defaults to 10% of the heap.API name:
limit
-
serialize
Serialize this object to JSON.- Specified by:
serialize
in interfaceJsonpSerializable
-
serializeInternal
-
toString
public java.lang.String toString()- Overrides:
toString
in classjava.lang.Object
-
setupIndexingPressureMemoryDeserializer
protected static void setupIndexingPressureMemoryDeserializer(ObjectDeserializer<IndexingPressureMemory.Builder> op)
-