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
-
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 -
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 nodestatic AllocationRecordof(java.util.function.Function<AllocationRecord.Builder,ObjectBuilder<AllocationRecord>> fn)voidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)protected static voidsetupAllocationRecordDeserializer(ObjectDeserializer<AllocationRecord.Builder> op)java.lang.Stringshards()number of shards on nodejava.lang.StringtoString()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Field Details
-
_DESERIALIZER
Json deserializer forAllocationRecord
-
-
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 nodeAPI name:
shards -
diskIndices
@Nullable public final java.lang.String diskIndices()disk used by ES indicesAPI 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 availableAPI name:
disk.avail -
diskTotal
@Nullable public final java.lang.String diskTotal()total capacity of all volumesAPI name:
disk.total -
diskPercent
@Nullable public final java.lang.String diskPercent()percent disk usedAPI name:
disk.percent -
host
@Nullable public final java.lang.String host()host of nodeAPI name:
host -
ip
@Nullable public final java.lang.String ip()ip of nodeAPI name:
ip -
node
@Nullable public final java.lang.String node()name of nodeAPI name:
node -
serialize
Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
-
toString
public java.lang.String toString()- Overrides:
toStringin classjava.lang.Object
-
setupAllocationRecordDeserializer
protected static void setupAllocationRecordDeserializer(ObjectDeserializer<AllocationRecord.Builder> op)
-