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 classIndexingPressureMemory.BuilderBuilder forIndexingPressureMemory. -
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<IndexingPressureMemory>_DESERIALIZERJson deserializer forIndexingPressureMemory -
Method Summary
Modifier and Type Method Description java.lang.Integerlimit()Number of outstanding bytes that may be consumed by indexing requests.static IndexingPressureMemoryof(java.util.function.Function<IndexingPressureMemory.Builder,ObjectBuilder<IndexingPressureMemory>> fn)voidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)protected static voidsetupIndexingPressureMemoryDeserializer(ObjectDeserializer<IndexingPressureMemory.Builder> op)java.lang.StringtoString()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:
serializein interfaceJsonpSerializable
-
serializeInternal
-
toString
public java.lang.String toString()- Overrides:
toStringin classjava.lang.Object
-
setupIndexingPressureMemoryDeserializer
protected static void setupIndexingPressureMemoryDeserializer(ObjectDeserializer<IndexingPressureMemory.Builder> op)
-