Class FileSystemTotal

java.lang.Object
co.elastic.clients.elasticsearch.nodes.FileSystemTotal
All Implemented Interfaces:
JsonpSerializable

@JsonpDeserializable public class FileSystemTotal extends Object implements JsonpSerializable
See Also:
  • Field Details

  • Method Details

    • of

    • available

      @Nullable public final String available()
      Total disk space available to this Java virtual machine on all file stores. Depending on OS or process level restrictions, this might appear less than free. This is the actual amount of free disk space the Elasticsearch node can utilise.

      API name: available

    • availableInBytes

      @Nullable public final Long availableInBytes()
      Total number of bytes available to this Java virtual machine on all file stores. Depending on OS or process level restrictions, this might appear less than free_in_bytes. This is the actual amount of free disk space the Elasticsearch node can utilise.

      API name: available_in_bytes

    • free

      @Nullable public final String free()
      Total unallocated disk space in all file stores.

      API name: free

    • freeInBytes

      @Nullable public final Long freeInBytes()
      Total number of unallocated bytes in all file stores.

      API name: free_in_bytes

    • total

      @Nullable public final String total()
      Total size of all file stores.

      API name: total

    • totalInBytes

      @Nullable public final Long totalInBytes()
      Total size of all file stores in bytes.

      API name: total_in_bytes

    • serialize

      public void serialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
      Serialize this object to JSON.
      Specified by:
      serialize in interface JsonpSerializable
    • serializeInternal

      protected void serializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • setupFileSystemTotalDeserializer

      protected static void setupFileSystemTotalDeserializer(ObjectDeserializer<FileSystemTotal.Builder> op)