Class AllocationRecord

java.lang.Object
org.opensearch.client.opensearch.cat.allocation.AllocationRecord
All Implemented Interfaces:
ToJsonp

public final class AllocationRecord
extends java.lang.Object
implements ToJsonp
  • Nested Class Summary

    Nested Classes 
    Modifier and Type Class Description
    static class  AllocationRecord.Builder
    Builder for AllocationRecord.
  • Field Summary

    Fields 
    Modifier and Type Field Description
    static JsonpDeserializer<AllocationRecord> DESERIALIZER
    Json deserializer for AllocationRecord
  • Constructor Summary

    Constructors 
    Modifier Constructor Description
    protected AllocationRecord​(AllocationRecord.Builder builder)  
  • Method Summary

    Modifier and Type Method Description
    jakarta.json.JsonValue disk_avail()
    disk available API name: disk.avail
    jakarta.json.JsonValue disk_indices()
    disk used by ES indices API name: disk.indices
    jakarta.json.JsonValue disk_percent()
    percent disk used API name: disk.percent
    jakarta.json.JsonValue disk_total()
    total capacity of all volumes API name: disk.total
    jakarta.json.JsonValue disk_used()
    disk used (total, not just ES) API name: disk.used
    java.lang.String host()
    host of node API name: host
    java.lang.String ip()
    ip of node API name: ip
    java.lang.String node()
    name of node API name: node
    protected static void setupAllocationRecordDeserializer​(DelegatingDeserializer<AllocationRecord.Builder> op)  
    java.lang.String shards()
    number of shards on node API name: shards
    void toJsonp​(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
    Serialize this object to JSON.
    protected void toJsonpInternal​(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)  

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

  • Constructor Details

  • Method Details

    • shards

      @Nullable public java.lang.String shards()
      number of shards on node API name: shards
    • disk_indices

      @Nullable public jakarta.json.JsonValue disk_indices()
      disk used by ES indices API name: disk.indices
    • disk_used

      @Nullable public jakarta.json.JsonValue disk_used()
      disk used (total, not just ES) API name: disk.used
    • disk_avail

      @Nullable public jakarta.json.JsonValue disk_avail()
      disk available API name: disk.avail
    • disk_total

      @Nullable public jakarta.json.JsonValue disk_total()
      total capacity of all volumes API name: disk.total
    • disk_percent

      @Nullable public jakarta.json.JsonValue disk_percent()
      percent disk used API name: disk.percent
    • host

      @Nullable public java.lang.String host()
      host of node API name: host
    • ip

      @Nullable public java.lang.String ip()
      ip of node API name: ip
    • node

      @Nullable public java.lang.String node()
      name of node API name: node
    • toJsonp

      public void toJsonp​(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
      Serialize this object to JSON.
      Specified by:
      toJsonp in interface ToJsonp
    • toJsonpInternal

      protected void toJsonpInternal​(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
    • setupAllocationRecordDeserializer

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