Class AllocationRecord
java.lang.Object
co.elastic.clients.elasticsearch.cat.allocation.AllocationRecord
- All Implemented Interfaces:
JsonpSerializable
@JsonpDeserializable public final class AllocationRecord extends java.lang.Object implements JsonpSerializable
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classAllocationRecord.BuilderBuilder forAllocationRecord. -
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<AllocationRecord>_DESERIALIZERJson deserializer forAllocationRecord -
Constructor Summary
Constructors Constructor Description AllocationRecord(AllocationRecord.Builder builder)AllocationRecord(java.util.function.Function<AllocationRecord.Builder,AllocationRecord.Builder> fn) -
Method Summary
Modifier and Type Method Description java.lang.StringdiskAvail()disk availablejava.lang.StringdiskIndices()disk used by ES indicesjava.lang.StringdiskPercent()percent disk usedjava.lang.StringdiskTotal()total capacity of all volumesjava.lang.StringdiskUsed()disk used (total, not just ES)java.lang.Stringhost()host of nodejava.lang.Stringip()ip of nodejava.lang.Stringnode()name of nodevoidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)protected static voidsetupAllocationRecordDeserializer(DelegatingDeserializer<AllocationRecord.Builder> op)java.lang.Stringshards()number of shards on nodeMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
_DESERIALIZER
Json deserializer forAllocationRecord
-
-
Constructor Details
-
AllocationRecord
-
AllocationRecord
public AllocationRecord(java.util.function.Function<AllocationRecord.Builder,AllocationRecord.Builder> fn)
-
-
Method Details
-
shards
@Nullable public java.lang.String shards()number of shards on nodeAPI name:
shards -
diskIndices
@Nullable public java.lang.String diskIndices()disk used by ES indicesAPI name:
disk.indices -
diskUsed
@Nullable public java.lang.String diskUsed()disk used (total, not just ES)API name:
disk.used -
diskAvail
@Nullable public java.lang.String diskAvail()disk availableAPI name:
disk.avail -
diskTotal
@Nullable public java.lang.String diskTotal()total capacity of all volumesAPI name:
disk.total -
diskPercent
@Nullable public java.lang.String diskPercent()percent disk usedAPI name:
disk.percent -
host
@Nullable public java.lang.String host()host of nodeAPI name:
host -
ip
@Nullable public java.lang.String ip()ip of nodeAPI name:
ip -
node
@Nullable public java.lang.String node()name of nodeAPI name:
node -
serialize
Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
-
setupAllocationRecordDeserializer
protected static void setupAllocationRecordDeserializer(DelegatingDeserializer<AllocationRecord.Builder> op)
-