Class TrainedModelDeploymentStats
java.lang.Object
co.elastic.clients.elasticsearch.ml.TrainedModelDeploymentStats
- All Implemented Interfaces:
JsonpSerializable
@JsonpDeserializable
public class TrainedModelDeploymentStats
extends Object
implements JsonpSerializable
- See Also:
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<TrainedModelDeploymentStats>Json deserializer forTrainedModelDeploymentStats -
Method Summary
Modifier and TypeMethodDescriptionAPI name:adaptive_allocationsThe detailed allocation status for the deployment.final StringAPI name:cache_sizefinal StringRequired - The unique identifier for the trained model deployment.final IntegerThe sum oferror_countfor all nodes in the deployment.final IntegerThe sum ofinference_countfor all nodes in the deployment.final StringmodelId()Required - The unique identifier for the trained model.nodes()Required - The deployment stats for each node that currently has the model allocated.final IntegerThe number of allocations requested.static TrainedModelDeploymentStatsfinal longRequired - API name:peak_throughput_per_minutefinal TrainingPrioritypriority()Required - API name:priorityfinal IntegerThe number of inference requests that can be queued before new requests are rejected.final Stringreason()The reason for the current deployment state.final IntegerThe sum ofrejected_execution_countfor all nodes in the deployment.voidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static voidsetupTrainedModelDeploymentStatsDeserializer(ObjectDeserializer<TrainedModelDeploymentStats.Builder> op) final longRequired - The epoch timestamp when the deployment started.state()The overall state of the deployment.final IntegerThe number of threads used be each allocation during inference.final IntegerThe sum oftimeout_countfor all nodes in the deployment.toString()
-
Field Details
-
_DESERIALIZER
Json deserializer forTrainedModelDeploymentStats
-
-
Method Details
-
of
-
adaptiveAllocations
API name:adaptive_allocations -
allocationStatus
The detailed allocation status for the deployment.API name:
allocation_status -
cacheSize
API name:cache_size -
deploymentId
Required - The unique identifier for the trained model deployment.API name:
deployment_id -
errorCount
The sum oferror_countfor all nodes in the deployment.API name:
error_count -
inferenceCount
The sum ofinference_countfor all nodes in the deployment.API name:
inference_count -
modelId
Required - The unique identifier for the trained model.API name:
model_id -
nodes
Required - The deployment stats for each node that currently has the model allocated. In serverless, stats are reported for a single unnamed virtual node.API name:
nodes -
numberOfAllocations
The number of allocations requested.API name:
number_of_allocations -
peakThroughputPerMinute
public final long peakThroughputPerMinute()Required - API name:peak_throughput_per_minute -
priority
Required - API name:priority -
queueCapacity
The number of inference requests that can be queued before new requests are rejected.API name:
queue_capacity -
rejectedExecutionCount
The sum ofrejected_execution_countfor all nodes in the deployment. Individual nodes reject an inference request if the inference queue is full. The queue size is controlled by thequeue_capacitysetting in the start trained model deployment API.API name:
rejected_execution_count -
reason
The reason for the current deployment state. Usually only populated when the model is not deployed to a node.API name:
reason -
startTime
public final long startTime()Required - The epoch timestamp when the deployment started.API name:
start_time -
state
The overall state of the deployment.API name:
state -
threadsPerAllocation
The number of threads used be each allocation during inference.API name:
threads_per_allocation -
timeoutCount
The sum oftimeout_countfor all nodes in the deployment.API name:
timeout_count -
serialize
Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
-
toString
-
setupTrainedModelDeploymentStatsDeserializer
protected static void setupTrainedModelDeploymentStatsDeserializer(ObjectDeserializer<TrainedModelDeploymentStats.Builder> op)
-