Class IndexingPressureMemory
java.lang.Object
org.opensearch.client.opensearch.indices.IndexingPressureMemory
- All Implemented Interfaces:
JsonpSerializable,PlainJsonSerializable,ToCopyableBuilder<IndexingPressureMemory.Builder,IndexingPressureMemory>
@JsonpDeserializable
@Generated("org.opensearch.client.codegen.CodeGenerator")
public class IndexingPressureMemory
extends Object
implements PlainJsonSerializable, ToCopyableBuilder<IndexingPressureMemory.Builder,IndexingPressureMemory>
The memory-related settings for indexing backpressure.
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<IndexingPressureMemory> Json deserializer forIndexingPressureMemory -
Method Summary
Modifier and TypeMethodDescriptionbuilder()booleaninthashCode()final JsonDatalimit()The 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 voidCreate a new builderToCopyableBuilderthat is initialised with the current state of this object.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 forIndexingPressureMemory
-
-
Method Details
-
of
public static IndexingPressureMemory of(Function<IndexingPressureMemory.Builder, ObjectBuilder<IndexingPressureMemory>> fn) -
limit
The 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
-
toBuilder
Description copied from interface:ToCopyableBuilderCreate a new builderToCopyableBuilderthat is initialised with the current state of this object.- Specified by:
toBuilderin interfaceToCopyableBuilder<IndexingPressureMemory.Builder,IndexingPressureMemory> - Returns:
- a new builder instance.
-
builder
-
setupIndexingPressureMemoryDeserializer
protected static void setupIndexingPressureMemoryDeserializer(ObjectDeserializer<IndexingPressureMemory.Builder> op) -
hashCode
public int hashCode() -
equals
-