Class JvmMemoryStats.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<JvmMemoryStats.Builder>
co.elastic.clients.elasticsearch.nodes.JvmMemoryStats.Builder
- All Implemented Interfaces:
WithJson<JvmMemoryStats.Builder>,ObjectBuilder<JvmMemoryStats>
- Enclosing class:
- JvmMemoryStats
public static class JvmMemoryStats.Builder
extends WithJsonObjectBuilderBase<JvmMemoryStats.Builder>
implements ObjectBuilder<JvmMemoryStats>
Builder for
JvmMemoryStats.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds aJvmMemoryStats.final JvmMemoryStats.BuilderheapCommittedInBytes(Long value) Amount of memory, in bytes, available for use by the heap.final JvmMemoryStats.BuilderMaximum amount of memory, available for use by the heap.final JvmMemoryStats.BuilderheapMaxInBytes(Long value) Maximum amount of memory, in bytes, available for use by the heap.final JvmMemoryStats.BuilderheapUsedInBytes(Long value) Memory, in bytes, currently in use by the heap.final JvmMemoryStats.BuilderheapUsedPercent(Long value) Percentage of memory currently in use by the heap.final JvmMemoryStats.BuildernonHeapCommittedInBytes(Long value) Amount of non-heap memory available, in bytes.final JvmMemoryStats.BuildernonHeapUsedInBytes(Long value) Non-heap memory used, in bytes.final JvmMemoryStats.BuilderContains statistics about heap memory usage for the node.final JvmMemoryStats.Builderpools(String key, Function<Pool.Builder, ObjectBuilder<Pool>> fn) Contains statistics about heap memory usage for the node.final JvmMemoryStats.BuilderContains statistics about heap memory usage for the node.protected JvmMemoryStats.Builderself()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
-
heapUsedInBytes
Memory, in bytes, currently in use by the heap.API name:
heap_used_in_bytes -
heapUsedPercent
Percentage of memory currently in use by the heap.API name:
heap_used_percent -
heapCommittedInBytes
Amount of memory, in bytes, available for use by the heap.API name:
heap_committed_in_bytes -
heapMaxInBytes
Maximum amount of memory, in bytes, available for use by the heap.API name:
heap_max_in_bytes -
heapMax
Maximum amount of memory, available for use by the heap.API name:
heap_max -
nonHeapUsedInBytes
Non-heap memory used, in bytes.API name:
non_heap_used_in_bytes -
nonHeapCommittedInBytes
Amount of non-heap memory available, in bytes.API name:
non_heap_committed_in_bytes -
pools
Contains statistics about heap memory usage for the node.API name:
poolsAdds all entries of
maptopools. -
pools
Contains statistics about heap memory usage for the node.API name:
poolsAdds an entry to
pools. -
pools
public final JvmMemoryStats.Builder pools(String key, Function<Pool.Builder, ObjectBuilder<Pool>> fn) Contains statistics about heap memory usage for the node.API name:
poolsAdds an entry to
poolsusing a builder lambda. -
self
- Specified by:
selfin classWithJsonObjectBuilderBase<JvmMemoryStats.Builder>
-
build
Builds aJvmMemoryStats.- Specified by:
buildin interfaceObjectBuilder<JvmMemoryStats>- Throws:
NullPointerException- if some of the required fields are null.
-