Class ClusterFileSystem
java.lang.Object
co.elastic.clients.elasticsearch.cluster.stats.ClusterFileSystem
- All Implemented Interfaces:
JsonpSerializable
- See Also:
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionstatic final JsonpDeserializer<ClusterFileSystem>
Json deserializer forClusterFileSystem
-
Method Summary
Modifier and TypeMethodDescriptionfinal long
Required - Total number of bytes available to JVM in file stores across all selected nodes.final long
Required - Total number of unallocated bytes in file stores across all selected nodes.static ClusterFileSystem
void
serialize
(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) Serialize this object to JSON.protected void
serializeInternal
(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static void
toString()
final long
Required - 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:
serialize
in interfaceJsonpSerializable
-
serializeInternal
-
toString
-
setupClusterFileSystemDeserializer
protected static void setupClusterFileSystemDeserializer(ObjectDeserializer<ClusterFileSystem.Builder> op)
-