Class AllocationRecord
- java.lang.Object
-
- org.opensearch.client.opensearch.cat.allocation.AllocationRecord
-
- All Implemented Interfaces:
JsonpSerializable
@JsonpDeserializable public 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
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods 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 node
-
-
-
Field Detail
-
_DESERIALIZER
public static final JsonpDeserializer<AllocationRecord> _DESERIALIZER
Json deserializer forAllocationRecord
-
-
Method Detail
-
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
public void serialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
protected void serializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
-
setupAllocationRecordDeserializer
protected static void setupAllocationRecordDeserializer(ObjectDeserializer<AllocationRecord.Builder> op)
-
-