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
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds aPool
.final Pool.Builder
maxInBytes
(Long value) Maximum amount of memory, in bytes, available for use by the heap.final Pool.Builder
peakMaxInBytes
(Long value) Largest amount of memory, in bytes, historically used by the heap.final Pool.Builder
peakUsedInBytes
(Long value) Largest amount of memory, in bytes, historically used by the heap.protected Pool.Builder
self()
final Pool.Builder
usedInBytes
(Long value) Memory, in bytes, used by the heap.Methods inherited from class co.elastic.clients.util.WithJsonObjectBuilderBase
withJson
Methods 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:
self
in classWithJsonObjectBuilderBase<Pool.Builder>
-
build
Builds aPool
.- Specified by:
build
in interfaceObjectBuilder<Pool>
- Throws:
NullPointerException
- if some of the required fields are null.
-