Class Jvm.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<Jvm.Builder>
co.elastic.clients.elasticsearch.nodes.Jvm.Builder
- All Implemented Interfaces:
WithJson<Jvm.Builder>,ObjectBuilder<Jvm>
- Enclosing class:
- Jvm
public static class Jvm.Builder
extends WithJsonObjectBuilderBase<Jvm.Builder>
implements ObjectBuilder<Jvm>
Builder for
Jvm.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal Jvm.BuilderbufferPools(String key, NodeBufferPool value) Contains statistics about JVM buffer pools for the node.final Jvm.BuilderContains statistics about JVM buffer pools for the node.final Jvm.BuilderbufferPools(Map<String, NodeBufferPool> map) Contains statistics about JVM buffer pools for the node.build()Builds aJvm.final Jvm.Builderclasses(JvmClasses value) Contains statistics about classes loaded by JVM for the node.final Jvm.BuilderContains statistics about classes loaded by JVM for the node.final Jvm.Buildergc(GarbageCollector value) Contains statistics about JVM garbage collectors for the node.final Jvm.BuilderContains statistics about JVM garbage collectors for the node.final Jvm.Buildermem(JvmMemoryStats value) Contains JVM memory usage statistics for the node.final Jvm.BuilderContains JVM memory usage statistics for the node.protected Jvm.Builderself()final Jvm.Builderthreads(JvmThreads value) Contains statistics about JVM thread usage for the node.final Jvm.BuilderContains statistics about JVM thread usage for the node.final Jvm.BuilderLast time JVM statistics were refreshed.final Jvm.BuilderHuman-readable JVM uptime.final Jvm.BuilderuptimeInMillis(Long value) JVM uptime in milliseconds.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
-
bufferPools
Contains statistics about JVM buffer pools for the node.API name:
buffer_poolsAdds all entries of
maptobufferPools. -
bufferPools
Contains statistics about JVM buffer pools for the node.API name:
buffer_poolsAdds an entry to
bufferPools. -
bufferPools
public final Jvm.Builder bufferPools(String key, Function<NodeBufferPool.Builder, ObjectBuilder<NodeBufferPool>> fn) Contains statistics about JVM buffer pools for the node.API name:
buffer_poolsAdds an entry to
bufferPoolsusing a builder lambda. -
classes
Contains statistics about classes loaded by JVM for the node.API name:
classes -
classes
Contains statistics about classes loaded by JVM for the node.API name:
classes -
gc
Contains statistics about JVM garbage collectors for the node.API name:
gc -
gc
Contains statistics about JVM garbage collectors for the node.API name:
gc -
mem
Contains JVM memory usage statistics for the node.API name:
mem -
mem
Contains JVM memory usage statistics for the node.API name:
mem -
threads
Contains statistics about JVM thread usage for the node.API name:
threads -
threads
Contains statistics about JVM thread usage for the node.API name:
threads -
timestamp
Last time JVM statistics were refreshed.API name:
timestamp -
uptime
Human-readable JVM uptime. Only returned if thehumanquery parameter istrue.API name:
uptime -
uptimeInMillis
JVM uptime in milliseconds.API name:
uptime_in_millis -
self
- Specified by:
selfin classWithJsonObjectBuilderBase<Jvm.Builder>
-
build
Builds aJvm.- Specified by:
buildin interfaceObjectBuilder<Jvm>- Throws:
NullPointerException- if some of the required fields are null.
-