Class IoStatDevice

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

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

  • Method Details

    • of

    • deviceName

      @Nullable public final String deviceName()
      The Linux device name.

      API name: device_name

    • ioTimeInMillis

      @Nullable public final Long ioTimeInMillis()
      API name: io_time_in_millis
    • operations

      @Nullable public final Long operations()
      The total number of read and write operations for the device completed since starting OpenSearch.

      API name: operations

    • queueSize

      @Nullable public final Long queueSize()
      API name: queue_size
    • readKilobytes

      @Nullable public final Long readKilobytes()
      The total number of kilobytes read for the device since starting OpenSearch.

      API name: read_kilobytes

    • readOperations

      @Nullable public final Long readOperations()
      The total number of read operations for the device completed since starting OpenSearch.

      API name: read_operations

    • readTime

      @Nullable public final Long readTime()
      API name: read_time
    • writeKilobytes

      @Nullable public final Long writeKilobytes()
      The total number of kilobytes written for the device since starting OpenSearch.

      API name: write_kilobytes

    • writeOperations

      @Nullable public final Long writeOperations()
      The total number of write operations for the device completed since starting OpenSearch.

      API name: write_operations

    • writeTime

      @Nullable public final Long writeTime()
      API name: write_time
    • 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 IoStatDevice.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<IoStatDevice.Builder,IoStatDevice>
      Returns:
      a new builder instance.
    • builder

      @Nonnull public static IoStatDevice.Builder builder()
    • setupIoStatDeviceDeserializer

      protected static void setupIoStatDeviceDeserializer(ObjectDeserializer<IoStatDevice.Builder> op)
    • hashCode

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

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