Class OperatingSystem
java.lang.Object
co.elastic.clients.elasticsearch.nodes.OperatingSystem
- All Implemented Interfaces:
JsonpSerializable
@JsonpDeserializable public class OperatingSystem extends java.lang.Object implements JsonpSerializable
- See Also:
- API specification
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classOperatingSystem.BuilderBuilder forOperatingSystem. -
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<OperatingSystem>_DESERIALIZERJson deserializer forOperatingSystem -
Method Summary
Modifier and Type Method Description Cgroupcgroup()API name:cgroupCpucpu()API name:cpuExtendedMemoryStatsmem()API name:memstatic OperatingSystemof(java.util.function.Function<OperatingSystem.Builder,ObjectBuilder<OperatingSystem>> fn)voidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)protected static voidsetupOperatingSystemDeserializer(ObjectDeserializer<OperatingSystem.Builder> op)MemoryStatsswap()API name:swapjava.lang.Longtimestamp()API name:timestampjava.lang.StringtoString()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Field Details
-
_DESERIALIZER
Json deserializer forOperatingSystem
-
-
Method Details
-
of
public static OperatingSystem of(java.util.function.Function<OperatingSystem.Builder,ObjectBuilder<OperatingSystem>> fn) -
cpu
API name:cpu -
mem
API name:mem -
swap
API name:swap -
cgroup
API name:cgroup -
timestamp
@Nullable public final java.lang.Long timestamp()API name:timestamp -
serialize
Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
-
toString
public java.lang.String toString()- Overrides:
toStringin classjava.lang.Object
-
setupOperatingSystemDeserializer
protected static void setupOperatingSystemDeserializer(ObjectDeserializer<OperatingSystem.Builder> op)
-