Class ClusterOperatingSystem
java.lang.Object
org.opensearch.client.opensearch.cluster.stats.ClusterOperatingSystem
- All Implemented Interfaces:
JsonpSerializable,PlainJsonSerializable,ToCopyableBuilder<ClusterOperatingSystem.Builder,ClusterOperatingSystem>
@JsonpDeserializable
@Generated("org.opensearch.client.codegen.CodeGenerator")
public class ClusterOperatingSystem
extends Object
implements PlainJsonSerializable, ToCopyableBuilder<ClusterOperatingSystem.Builder,ClusterOperatingSystem>
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<ClusterOperatingSystem> Json deserializer forClusterOperatingSystem -
Method Summary
Modifier and TypeMethodDescriptionfinal intRequired - 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 intRequired - Number of processors available to JVM across all selected nodes.builder()booleaninthashCode()mem()Required - API name:memfinal List<ClusterOperatingSystemName> names()Required - Contains statistics about operating systems used by selected nodes.static ClusterOperatingSystemRequired - Contains statistics about operating systems used by selected nodes.voidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static voidCreate a new builderToCopyableBuilderthat is initialised with the current state of this object.Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.opensearch.client.json.PlainJsonSerializable
toJsonStringMethods inherited from interface org.opensearch.client.util.ToCopyableBuilder
copy
-
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 - 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:
serializein interfaceJsonpSerializable
-
serializeInternal
-
toBuilder
Description copied from interface:ToCopyableBuilderCreate a new builderToCopyableBuilderthat is initialised with the current state of this object.- Specified by:
toBuilderin interfaceToCopyableBuilder<ClusterOperatingSystem.Builder,ClusterOperatingSystem> - Returns:
- a new builder instance.
-
builder
-
setupClusterOperatingSystemDeserializer
protected static void setupClusterOperatingSystemDeserializer(ObjectDeserializer<ClusterOperatingSystem.Builder> op) -
hashCode
public int hashCode() -
equals
-