Class DataPathStats

java.lang.Object
org.opensearch.client.opensearch.nodes.stats.DataPathStats
All Implemented Interfaces:
JsonpSerializable, PlainJsonSerializable, ToCopyableBuilder<DataPathStats.Builder,DataPathStats>

@JsonpDeserializable @Generated("org.opensearch.client.codegen.CodeGenerator") public class DataPathStats extends Object implements PlainJsonSerializable, ToCopyableBuilder<DataPathStats.Builder,DataPathStats>
  • Field Details

  • Method Details

    • of

    • available

      @Nullable public final String available()
      Total amount of disk space available to this Java virtual machine on this file store.

      API name: available

    • availableInBytes

      @Nullable public final Long availableInBytes()
      Total number of bytes available to this Java virtual machine on this file store.

      API name: available_in_bytes

    • cacheReserved

      @Nullable public final String cacheReserved()
      Total number of cache bytes reserved available to this Java virtual machine on this file store.

      API name: cache_reserved

    • cacheReservedInBytes

      @Nullable public final Long cacheReservedInBytes()
      Total number of cache bytes reserved available to this Java virtual machine on this file store.

      API name: cache_reserved_in_bytes

    • free

      @Nullable public final String free()
      Total amount of unallocated disk space in the file store.

      API name: free

    • freeInBytes

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

      API name: free_in_bytes

    • mount

      @Nullable public final String mount()
      Mount point of the file store (for example: /dev/sda2).

      API name: mount

    • path

      @Nullable public final String path()
      Path to the file store.

      API name: path

    • total

      @Nullable public final String total()
      Total size of the file store.

      API name: total

    • totalInBytes

      @Nullable public final Long totalInBytes()
      Total size of the file store in bytes.

      API name: total_in_bytes

    • type

      @Nullable public final String type()
      Type of the file store (ex: ext4).

      API name: type

    • 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)
    • toBuilder

      @Nonnull public DataPathStats.Builder toBuilder()
      Description copied from interface: ToCopyableBuilder
      Create a new builder ToCopyableBuilder that is initialised with the current state of this object.
      Specified by:
      toBuilder in interface ToCopyableBuilder<DataPathStats.Builder,DataPathStats>
      Returns:
      a new builder instance.
    • builder

      @Nonnull public static DataPathStats.Builder builder()
    • setupDataPathStatsDeserializer

      protected static void setupDataPathStatsDeserializer(ObjectDeserializer<DataPathStats.Builder> op)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object