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 class
AllocationRecord.Builder
Builder forAllocationRecord
. -
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<AllocationRecord>
_DESERIALIZER
Json 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.String
diskAvail()
disk availablejava.lang.String
diskIndices()
disk used by ES indicesjava.lang.String
diskPercent()
percent disk usedjava.lang.String
diskTotal()
total capacity of all volumesjava.lang.String
diskUsed()
disk used (total, not just ES)java.lang.String
host()
host of nodejava.lang.String
ip()
ip of nodejava.lang.String
node()
name of nodevoid
serialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
Serialize this object to JSON.protected void
serializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
protected static void
setupAllocationRecordDeserializer(DelegatingDeserializer<AllocationRecord.Builder> op)
java.lang.String
shards()
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:
serialize
in interfaceJsonpSerializable
-
serializeInternal
-
setupAllocationRecordDeserializer
protected static void setupAllocationRecordDeserializer(DelegatingDeserializer<AllocationRecord.Builder> op)
-