Class Allocations
java.lang.Object
co.elastic.clients.elasticsearch.nodes.Allocations
- All Implemented Interfaces:
JsonpSerializable
- See Also:
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<Allocations>Json deserializer forAllocations -
Method Summary
Modifier and TypeMethodDescriptionfinal StringCurrent disk usage for the node.final LongCurrent disk usage, in bytes, for the node.final StringForecasted disk usage for the node.final LongForecasted disk usage, in bytes, for the node.final DoubleForecasted ingest load for the node.static Allocationsrebuild()voidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static voidfinal Integershards()Number of shards allocated to the node.toString()final IntegerNumber of shards allocated to the node that are currently undesired.
-
Field Details
-
_DESERIALIZER
Json deserializer forAllocations
-
-
Method Details
-
of
-
shards
Number of shards allocated to the node.API name:
shards -
undesiredShards
Number of shards allocated to the node that are currently undesired.API name:
undesired_shards -
forecastedIngestLoad
Forecasted ingest load for the node.API name:
forecasted_ingest_load -
forecastedDiskUsage
Forecasted disk usage for the node.API name:
forecasted_disk_usage -
forecastedDiskUsageInBytes
Forecasted disk usage, in bytes, for the node.API name:
forecasted_disk_usage_in_bytes -
currentDiskUsage
Current disk usage for the node.API name:
current_disk_usage -
currentDiskUsageInBytes
Current disk usage, in bytes, for the node.API name:
current_disk_usage_in_bytes -
serialize
Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
-
toString
-
rebuild
- Returns:
- New
Allocations.Builderinitialized with field values of this instance
-
setupAllocationsDeserializer
-