Class NodeOperatingSystemInfo
java.lang.Object
org.opensearch.client.opensearch.nodes.info.NodeOperatingSystemInfo
- All Implemented Interfaces:
ToJsonp
public final class NodeOperatingSystemInfo extends java.lang.Object implements ToJsonp
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classNodeOperatingSystemInfo.BuilderBuilder forNodeOperatingSystemInfo. -
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<NodeOperatingSystemInfo>DESERIALIZERJson deserializer for NodeOperatingSystemInfo -
Constructor Summary
Constructors Modifier Constructor Description protectedNodeOperatingSystemInfo(NodeOperatingSystemInfo.Builder builder) -
Method Summary
Modifier and Type Method Description java.lang.NumberallocatedProcessors()The number of processors actually used to calculate thread pool size.java.lang.Stringarch()Name of the JVM architecture (ex: amd64, x86) API name:archjava.lang.NumberavailableProcessors()Number of processors available to the Java virtual machine API name:available_processorsNodeInfoOSCPUcpu()API name:cpuNodeInfoMemorymem()API name:memjava.lang.Stringname()Name of the operating system (ex: Linux, Windows, Mac OS X) API name:namejava.lang.StringprettyName()API name:pretty_namejava.lang.NumberrefreshIntervalInMillis()Refresh interval for the OS statistics API name:refresh_interval_in_millisprotected static voidsetupNodeOperatingSystemInfoDeserializer(DelegatingDeserializer<NodeOperatingSystemInfo.Builder> op)NodeInfoMemoryswap()API name:swapvoidtoJsonp(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)Serialize this object to JSON.protected voidtoJsonpInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)java.lang.Stringversion()Version of the operating system API name:version
-
Field Details
-
DESERIALIZER
Json deserializer for NodeOperatingSystemInfo
-
-
Constructor Details
-
Method Details
-
arch
public java.lang.String arch()Name of the JVM architecture (ex: amd64, x86) API name:arch -
availableProcessors
public java.lang.Number availableProcessors()Number of processors available to the Java virtual machine API name:available_processors -
allocatedProcessors
@Nullable public java.lang.Number allocatedProcessors()The number of processors actually used to calculate thread pool size. This number can be set with the node.processors setting of a node and defaults to the number of processors reported by the OS. API name:allocated_processors -
name
public java.lang.String name()Name of the operating system (ex: Linux, Windows, Mac OS X) API name:name -
prettyName
public java.lang.String prettyName()API name:pretty_name -
refreshIntervalInMillis
public java.lang.Number refreshIntervalInMillis()Refresh interval for the OS statistics API name:refresh_interval_in_millis -
version
public java.lang.String version()Version of the operating system API name:version -
cpu
API name:cpu -
mem
API name:mem -
swap
API name:swap -
toJsonp
Serialize this object to JSON. -
toJsonpInternal
-
setupNodeOperatingSystemInfoDeserializer
protected static void setupNodeOperatingSystemInfoDeserializer(DelegatingDeserializer<NodeOperatingSystemInfo.Builder> op)
-