Class IndexingPressureMemory.Builder
java.lang.Object
org.opensearch.client.util.ObjectBuilderBase
org.opensearch.client.opensearch.indices.IndexingPressureMemory.Builder
- All Implemented Interfaces:
CopyableBuilder<IndexingPressureMemory.Builder,,IndexingPressureMemory> MutableBuilder<IndexingPressureMemory.Builder,,IndexingPressureMemory> ObjectBuilder<IndexingPressureMemory>
- Enclosing class:
IndexingPressureMemory
public static class IndexingPressureMemory.Builder
extends ObjectBuilderBase
implements CopyableBuilder<IndexingPressureMemory.Builder,IndexingPressureMemory>
Builder for
IndexingPressureMemory.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds aIndexingPressureMemory.copy()Create a new builderCopyableBuilderthat is a copy of this one.The number of outstanding bytes that may be consumed by indexing requests.Methods inherited from class org.opensearch.client.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _listCopy, _mapCopy, _mapPut, _mapPutAllMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.opensearch.client.util.MutableBuilder
applyMutation
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
copy
Description copied from interface:CopyableBuilderCreate a new builderCopyableBuilderthat is a copy of this one.- Specified by:
copyin interfaceCopyableBuilder<IndexingPressureMemory.Builder,IndexingPressureMemory> - Returns:
- a new builder instance.
-
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 -
build
Builds aIndexingPressureMemory.- Specified by:
buildin interfaceObjectBuilder<IndexingPressureMemory>- Throws:
NullPointerException- if some of the required fields are null.
-