Class TrainedModelDeploymentNodesStats
java.lang.Object
co.elastic.clients.elasticsearch.ml.TrainedModelDeploymentNodesStats
- All Implemented Interfaces:
JsonpSerializable
@JsonpDeserializable
public class TrainedModelDeploymentNodesStats
extends Object
implements JsonpSerializable
- See Also:
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<TrainedModelDeploymentNodesStats>Json deserializer forTrainedModelDeploymentNodesStats -
Method Summary
Modifier and TypeMethodDescriptionfinal doubleRequired - The average time for each inference call to complete on this node.final intRequired - The number of errors when evaluating the trained model.final intRequired - The total number of inference calls made against this node for this model.final longRequired - The epoch time stamp of the last inference call for the model on this node.final DiscoveryNodenode()Required - Information pertaining to the node.final intRequired - The number of allocations assigned to this node.final intRequired - The number of inference requests queued to be processed.of(Function<TrainedModelDeploymentNodesStats.Builder, ObjectBuilder<TrainedModelDeploymentNodesStats>> fn) final intRequired - The number of inference requests that were not processed because the queue was full.Required - The current routing state and reason for the current routing state for this allocation.voidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static voidsetupTrainedModelDeploymentNodesStatsDeserializer(ObjectDeserializer<TrainedModelDeploymentNodesStats.Builder> op) final longRequired - The epoch timestamp when the allocation started.final intRequired - The number of threads used by each allocation during inference.final intRequired - The number of inference requests that timed out before being processed.toString()
-
Field Details
-
_DESERIALIZER
Json deserializer forTrainedModelDeploymentNodesStats
-
-
Method Details
-
of
-
averageInferenceTimeMs
public final double averageInferenceTimeMs()Required - The average time for each inference call to complete on this node.API name:
average_inference_time_ms -
errorCount
public final int errorCount()Required - The number of errors when evaluating the trained model.API name:
error_count -
inferenceCount
public final int inferenceCount()Required - The total number of inference calls made against this node for this model.API name:
inference_count -
lastAccess
public final long lastAccess()Required - The epoch time stamp of the last inference call for the model on this node.API name:
last_access -
node
Required - Information pertaining to the node.API name:
node -
numberOfAllocations
public final int numberOfAllocations()Required - The number of allocations assigned to this node.API name:
number_of_allocations -
numberOfPendingRequests
public final int numberOfPendingRequests()Required - The number of inference requests queued to be processed.API name:
number_of_pending_requests -
rejectionExecutionCount
public final int rejectionExecutionCount()Required - The number of inference requests that were not processed because the queue was full.API name:
rejection_execution_count -
routingState
Required - The current routing state and reason for the current routing state for this allocation.API name:
routing_state -
startTime
public final long startTime()Required - The epoch timestamp when the allocation started.API name:
start_time -
threadsPerAllocation
public final int threadsPerAllocation()Required - The number of threads used by each allocation during inference.API name:
threads_per_allocation -
timeoutCount
public final int timeoutCount()Required - The number of inference requests that timed out before being processed.API name:
timeout_count -
serialize
Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
-
toString
-
setupTrainedModelDeploymentNodesStatsDeserializer
protected static void setupTrainedModelDeploymentNodesStatsDeserializer(ObjectDeserializer<TrainedModelDeploymentNodesStats.Builder> op)
-