Class ClusterFileSystem
java.lang.Object
co.elastic.clients.elasticsearch.cluster.stats.ClusterFileSystem
- All Implemented Interfaces:
JsonpSerializable
- See Also:
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<ClusterFileSystem>Json deserializer forClusterFileSystem -
Method Summary
Modifier and TypeMethodDescriptionfinal longRequired - Total number of bytes available to JVM in file stores across all selected nodes.final longRequired - Total number of unallocated bytes in file stores across all selected nodes.static ClusterFileSystemvoidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static voidtoString()final longRequired - Total size, in bytes, of all file stores across all selected nodes.
-
Field Details
-
_DESERIALIZER
Json deserializer forClusterFileSystem
-
-
Method Details
-
of
public static ClusterFileSystem of(Function<ClusterFileSystem.Builder, ObjectBuilder<ClusterFileSystem>> fn) -
availableInBytes
public final long availableInBytes()Required - Total number of bytes available to JVM in file stores across all selected nodes. Depending on operating system or process-level restrictions, this number may be less thannodes.fs.free_in_byes. This is the actual amount of free disk space the selected Elasticsearch nodes can use.API name:
available_in_bytes -
freeInBytes
public final long freeInBytes()Required - Total number of unallocated bytes in file stores across all selected nodes.API name:
free_in_bytes -
totalInBytes
public final long totalInBytes()Required - Total size, in bytes, of all file stores across all selected nodes.API name:
total_in_bytes -
serialize
Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
-
toString
-
setupClusterFileSystemDeserializer
protected static void setupClusterFileSystemDeserializer(ObjectDeserializer<ClusterFileSystem.Builder> op)
-