Class GpuNodeStats

java.lang.Object
co.elastic.clients.elasticsearch.xpack.usage.GpuNodeStats
All Implemented Interfaces:
JsonpSerializable

@JsonpDeserializable public class GpuNodeStats extends Object implements JsonpSerializable
Per-node GPU statistics for vector indexing.
See Also:
  • Field Details

  • Method Details

    • of

    • type

      public final String type()
      Required - GPU device type (e.g., "NVIDIA L4", "NVIDIA A100").

      API name: type

    • memoryInBytes

      public final long memoryInBytes()
      Required - GPU memory in bytes.

      API name: memory_in_bytes

    • enabled

      public final boolean enabled()
      Required - Whether GPU vector indexing is enabled on this node.

      API name: enabled

    • indexBuildCount

      public final long indexBuildCount()
      Required - Number of GPU index builds performed on this node.

      API name: index_build_count

    • 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
    • rebuild

      public GpuNodeStats.Builder rebuild()
      Returns:
      New GpuNodeStats.Builder initialized with field values of this instance
    • setupGpuNodeStatsDeserializer

      protected static void setupGpuNodeStatsDeserializer(ObjectDeserializer<GpuNodeStats.Builder> op)