Class AllocationRecord

java.lang.Object
co.elastic.clients.elasticsearch.cat.allocation.AllocationRecord
All Implemented Interfaces:
JsonpSerializable

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

  • Method Details

    • of

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

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

      API name: shards

    • diskIndices

      @Nullable public final java.lang.String diskIndices()
      disk used by ES indices

      API name: disk.indices

    • diskUsed

      @Nullable public final java.lang.String diskUsed()
      disk used (total, not just ES)

      API name: disk.used

    • diskAvail

      @Nullable public final java.lang.String diskAvail()
      disk available

      API name: disk.avail

    • diskTotal

      @Nullable public final java.lang.String diskTotal()
      total capacity of all volumes

      API name: disk.total

    • diskPercent

      @Nullable public final java.lang.String diskPercent()
      percent disk used

      API name: disk.percent

    • host

      @Nullable public final java.lang.String host()
      host of node

      API name: host

    • ip

      @Nullable public final java.lang.String ip()
      ip of node

      API name: ip

    • node

      @Nullable public final java.lang.String node()
      name of node

      API name: node

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

      protected static void setupAllocationRecordDeserializer​(ObjectDeserializer<AllocationRecord.Builder> op)