Class ClusterOperatingSystem
java.lang.Object
co.elastic.clients.elasticsearch.cluster.stats.ClusterOperatingSystem
- All Implemented Interfaces:
JsonpSerializable
@JsonpDeserializable
public class ClusterOperatingSystem
extends Object
implements JsonpSerializable
- See Also:
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionstatic final JsonpDeserializer<ClusterOperatingSystem>
Json deserializer forClusterOperatingSystem
-
Method Summary
Modifier and TypeMethodDescriptionfinal int
Required - Number of processors used to calculate thread pool size across all selected nodes.Contains statistics about processor architectures (for example, x86_64 or aarch64) used by selected nodes.final int
Required - Number of processors available to JVM across all selected nodes.mem()
Required - Contains statistics about memory used by selected nodes.final List<ClusterOperatingSystemName>
names()
Required - Contains statistics about operating systems used by selected nodes.static ClusterOperatingSystem
Required - Contains statistics about operating systems used by selected nodes.void
serialize
(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) Serialize this object to JSON.protected void
serializeInternal
(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static void
toString()
-
Field Details
-
_DESERIALIZER
Json deserializer forClusterOperatingSystem
-
-
Method Details
-
of
public static ClusterOperatingSystem of(Function<ClusterOperatingSystem.Builder, ObjectBuilder<ClusterOperatingSystem>> fn) -
allocatedProcessors
public final int allocatedProcessors()Required - Number of processors used to calculate thread pool size across all selected nodes. This number can be set with the processors setting of a node and defaults to the number of processors reported by the operating system. In both cases, this number will never be larger than 32.API name:
allocated_processors
-
architectures
Contains statistics about processor architectures (for example, x86_64 or aarch64) used by selected nodes.API name:
architectures
-
availableProcessors
public final int availableProcessors()Required - Number of processors available to JVM across all selected nodes.API name:
available_processors
-
mem
Required - Contains statistics about memory used by selected nodes.API name:
mem
-
names
Required - Contains statistics about operating systems used by selected nodes.API name:
names
-
prettyNames
Required - Contains statistics about operating systems used by selected nodes.API name:
pretty_names
-
serialize
Serialize this object to JSON.- Specified by:
serialize
in interfaceJsonpSerializable
-
serializeInternal
-
toString
-
setupClusterOperatingSystemDeserializer
protected static void setupClusterOperatingSystemDeserializer(ObjectDeserializer<ClusterOperatingSystem.Builder> op)
-