Class IndexingPressureMemory
java.lang.Object
co.elastic.clients.elasticsearch.indices.IndexingPressureMemory
- All Implemented Interfaces:
JsonpSerializable
@JsonpDeserializable
public class IndexingPressureMemory
extends Object
implements JsonpSerializable
- See Also:
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<IndexingPressureMemory>Json deserializer forIndexingPressureMemory -
Method Summary
Modifier and TypeMethodDescriptionfinal Integerlimit()Number of outstanding bytes that may be consumed by indexing requests.static IndexingPressureMemoryvoidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static voidtoString()
-
Field Details
-
_DESERIALIZER
Json deserializer forIndexingPressureMemory
-
-
Method Details
-
of
public static IndexingPressureMemory of(Function<IndexingPressureMemory.Builder, ObjectBuilder<IndexingPressureMemory>> fn) -
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:
serializein interfaceJsonpSerializable
-
serializeInternal
-
toString
-
setupIndexingPressureMemoryDeserializer
protected static void setupIndexingPressureMemoryDeserializer(ObjectDeserializer<IndexingPressureMemory.Builder> op)
-