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 class
AllocationRecord.Builder
Builder forAllocationRecord
. -
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<AllocationRecord>
_DESERIALIZER
Json deserializer forAllocationRecord
-
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 nodestatic AllocationRecord
of(java.util.function.Function<AllocationRecord.Builder,ObjectBuilder<AllocationRecord>> fn)
void
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(ObjectDeserializer<AllocationRecord.Builder> op)
java.lang.String
shards()
number of shards on nodejava.lang.String
toString()
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:
serialize
in interfaceJsonpSerializable
-
serializeInternal
-
toString
public java.lang.String toString()- Overrides:
toString
in classjava.lang.Object
-
setupAllocationRecordDeserializer
protected static void setupAllocationRecordDeserializer(ObjectDeserializer<AllocationRecord.Builder> op)
-