Class OperatingSystemMemoryInfo
java.lang.Object
co.elastic.clients.elasticsearch.cluster.stats.OperatingSystemMemoryInfo
- All Implemented Interfaces:
JsonpSerializable
@JsonpDeserializable public final class OperatingSystemMemoryInfo extends java.lang.Object implements JsonpSerializable
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classOperatingSystemMemoryInfo.BuilderBuilder forOperatingSystemMemoryInfo. -
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<OperatingSystemMemoryInfo>_DESERIALIZERJson deserializer forOperatingSystemMemoryInfo -
Constructor Summary
Constructors Constructor Description OperatingSystemMemoryInfo(OperatingSystemMemoryInfo.Builder builder)OperatingSystemMemoryInfo(java.util.function.Function<OperatingSystemMemoryInfo.Builder,OperatingSystemMemoryInfo.Builder> fn) -
Method Summary
Modifier and Type Method Description longfreeInBytes()Required - API name:free_in_bytesintfreePercent()Required - API name:free_percentvoidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)protected static voidsetupOperatingSystemMemoryInfoDeserializer(DelegatingDeserializer<OperatingSystemMemoryInfo.Builder> op)longtotalInBytes()Required - API name:total_in_byteslongusedInBytes()Required - API name:used_in_bytesintusedPercent()Required - API name:used_percentMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
_DESERIALIZER
Json deserializer forOperatingSystemMemoryInfo
-
-
Constructor Details
-
OperatingSystemMemoryInfo
-
OperatingSystemMemoryInfo
public OperatingSystemMemoryInfo(java.util.function.Function<OperatingSystemMemoryInfo.Builder,OperatingSystemMemoryInfo.Builder> fn)
-
-
Method Details
-
freeInBytes
public long freeInBytes()Required - API name:free_in_bytes -
freePercent
public int freePercent()Required - API name:free_percent -
totalInBytes
public long totalInBytes()Required - API name:total_in_bytes -
usedInBytes
public long usedInBytes()Required - API name:used_in_bytes -
usedPercent
public int usedPercent()Required - API name:used_percent -
serialize
Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
-
setupOperatingSystemMemoryInfoDeserializer
protected static void setupOperatingSystemMemoryInfoDeserializer(DelegatingDeserializer<OperatingSystemMemoryInfo.Builder> op)
-