Class NodeOperatingSystemInfo
java.lang.Object
co.elastic.clients.elasticsearch.nodes.info.NodeOperatingSystemInfo
- All Implemented Interfaces:
JsonpSerializable
@JsonpDeserializable public final class NodeOperatingSystemInfo extends java.lang.Object implements JsonpSerializable
-
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 forNodeOperatingSystemInfo -
Constructor Summary
Constructors Constructor Description NodeOperatingSystemInfo(NodeOperatingSystemInfo.Builder builder)NodeOperatingSystemInfo(java.util.function.Function<NodeOperatingSystemInfo.Builder,NodeOperatingSystemInfo.Builder> fn) -
Method Summary
Modifier and Type Method Description java.lang.IntegerallocatedProcessors()The number of processors actually used to calculate thread pool size.java.lang.Stringarch()Required - Name of the JVM architecture (ex: amd64, x86)intavailableProcessors()Required - Number of processors available to the Java virtual machineNodeInfoOSCPUcpu()API name:cpuNodeInfoMemorymem()API name:memjava.lang.Stringname()Required - Name of the operating system (ex: Linux, Windows, Mac OS X)java.lang.StringprettyName()Required - API name:pretty_nameintrefreshIntervalInMillis()Required - Refresh interval for the OS statisticsvoidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)protected static voidsetupNodeOperatingSystemInfoDeserializer(DelegatingDeserializer<NodeOperatingSystemInfo.Builder> op)NodeInfoMemoryswap()API name:swapjava.lang.Stringversion()Required - Version of the operating systemMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
_DESERIALIZER
Json deserializer forNodeOperatingSystemInfo
-
-
Constructor Details
-
NodeOperatingSystemInfo
-
NodeOperatingSystemInfo
public NodeOperatingSystemInfo(java.util.function.Function<NodeOperatingSystemInfo.Builder,NodeOperatingSystemInfo.Builder> fn)
-
-
Method Details
-
arch
public java.lang.String arch()Required - Name of the JVM architecture (ex: amd64, x86)API name:
arch -
availableProcessors
public int availableProcessors()Required - Number of processors available to the Java virtual machineAPI name:
available_processors -
allocatedProcessors
@Nullable public java.lang.Integer 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()Required - Name of the operating system (ex: Linux, Windows, Mac OS X)API name:
name -
prettyName
public java.lang.String prettyName()Required - API name:pretty_name -
refreshIntervalInMillis
public int refreshIntervalInMillis()Required - Refresh interval for the OS statisticsAPI name:
refresh_interval_in_millis -
version
public java.lang.String version()Required - Version of the operating systemAPI name:
version -
cpu
API name:cpu -
mem
API name:mem -
swap
API name:swap -
serialize
Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
-
setupNodeOperatingSystemInfoDeserializer
protected static void setupNodeOperatingSystemInfoDeserializer(DelegatingDeserializer<NodeOperatingSystemInfo.Builder> op)
-