Class HealthRecord

java.lang.Object
co.elastic.clients.elasticsearch.cat.health.HealthRecord
All Implemented Interfaces:
JsonpSerializable

@JsonpDeserializable
public class HealthRecord
extends java.lang.Object
implements JsonpSerializable
See Also:
API specification
  • Field Details

  • Method Details

    • of

      public static HealthRecord of​(java.util.function.Function<HealthRecord.Builder,​ObjectBuilder<HealthRecord>> fn)
    • epoch

      @Nullable public final java.lang.String epoch()
      seconds since 1969-01-01 00:00:00

      API name: epoch

    • timestamp

      @Nullable public final java.lang.String timestamp()
      time in HH:MM:SS

      API name: timestamp

    • cluster

      @Nullable public final java.lang.String cluster()
      cluster name

      API name: cluster

    • status

      @Nullable public final java.lang.String status()
      health status

      API name: status

    • nodeTotal

      @Nullable public final java.lang.String nodeTotal()
      total number of nodes

      API name: node.total

    • nodeData

      @Nullable public final java.lang.String nodeData()
      number of nodes that can store data

      API name: node.data

    • shards

      @Nullable public final java.lang.String shards()
      total number of shards

      API name: shards

    • pri

      @Nullable public final java.lang.String pri()
      number of primary shards

      API name: pri

    • relo

      @Nullable public final java.lang.String relo()
      number of relocating nodes

      API name: relo

    • init

      @Nullable public final java.lang.String init()
      number of initializing nodes

      API name: init

    • unassign

      @Nullable public final java.lang.String unassign()
      number of unassigned shards

      API name: unassign

    • pendingTasks

      @Nullable public final java.lang.String pendingTasks()
      number of pending tasks

      API name: pending_tasks

    • maxTaskWaitTime

      @Nullable public final java.lang.String maxTaskWaitTime()
      wait time of longest task pending

      API name: max_task_wait_time

    • activeShardsPercent

      @Nullable public final java.lang.String activeShardsPercent()
      active number of shards in percent

      API name: active_shards_percent

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

      protected static void setupHealthRecordDeserializer​(ObjectDeserializer<HealthRecord.Builder> op)