Class Pool.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<Pool.Builder>
co.elastic.clients.elasticsearch.nodes.Pool.Builder
- All Implemented Interfaces:
WithJson<Pool.Builder>,ObjectBuilder<Pool>
- Enclosing class:
- Pool
public static class Pool.Builder
extends WithJsonObjectBuilderBase<Pool.Builder>
implements ObjectBuilder<Pool>
Builder for
Pool.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds aPool.final Pool.BuildermaxInBytes(Long value) Maximum amount of memory, in bytes, available for use by the heap.final Pool.BuilderpeakMaxInBytes(Long value) Largest amount of memory, in bytes, historically used by the heap.final Pool.BuilderpeakUsedInBytes(Long value) Largest amount of memory, in bytes, historically used by the heap.protected Pool.Builderself()final Pool.BuilderusedInBytes(Long value) Memory, in bytes, used by the heap.Methods inherited from class co.elastic.clients.util.WithJsonObjectBuilderBase
withJsonMethods inherited from class co.elastic.clients.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAll
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
usedInBytes
Memory, in bytes, used by the heap.API name:
used_in_bytes -
maxInBytes
Maximum amount of memory, in bytes, available for use by the heap.API name:
max_in_bytes -
peakUsedInBytes
Largest amount of memory, in bytes, historically used by the heap.API name:
peak_used_in_bytes -
peakMaxInBytes
Largest amount of memory, in bytes, historically used by the heap.API name:
peak_max_in_bytes -
self
- Specified by:
selfin classWithJsonObjectBuilderBase<Pool.Builder>
-
build
Builds aPool.- Specified by:
buildin interfaceObjectBuilder<Pool>- Throws:
NullPointerException- if some of the required fields are null.
-