Class AllocationRecord
java.lang.Object
co.elastic.clients.elasticsearch.cat.allocation.AllocationRecord
- All Implemented Interfaces:
JsonpSerializable
- See Also:
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<AllocationRecord>Json deserializer forAllocationRecord -
Method Summary
Modifier and TypeMethodDescriptionfinal Stringdisk availablefinal Stringdisk used by ES indicesfinal Stringpercent disk usedfinal Stringtotal capacity of all volumesfinal StringdiskUsed()disk used (total, not just ES)final Stringhost()host of nodefinal Stringip()ip of nodefinal Stringnode()name of nodestatic AllocationRecordvoidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static voidfinal Stringshards()number of shards on nodetoString()
-
Field Details
-
_DESERIALIZER
Json deserializer forAllocationRecord
-
-
Method Details
-
of
public static AllocationRecord of(Function<AllocationRecord.Builder, ObjectBuilder<AllocationRecord>> fn) -
shards
number of shards on nodeAPI name:
shards -
diskIndices
disk used by ES indicesAPI name:
disk.indices -
diskUsed
disk used (total, not just ES)API name:
disk.used -
diskAvail
disk availableAPI name:
disk.avail -
diskTotal
total capacity of all volumesAPI name:
disk.total -
diskPercent
percent disk usedAPI name:
disk.percent -
host
host of nodeAPI name:
host -
ip
ip of nodeAPI name:
ip -
node
name of nodeAPI name:
node -
serialize
Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
-
toString
-
setupAllocationRecordDeserializer
protected static void setupAllocationRecordDeserializer(ObjectDeserializer<AllocationRecord.Builder> op)
-