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
-
Field Summary
Modifier and TypeFieldDescriptionstatic final JsonpDeserializer<TrainedModelDeploymentNodesStats>
Json deserializer forTrainedModelDeploymentNodesStats
-
Method Summary
Modifier and TypeMethodDescriptionfinal double
Required - The average time for each inference call to complete on this node.final int
Required - The number of errors when evaluating the trained model.final int
Required - The total number of inference calls made against this node for this model.final long
Required - The epoch time stamp of the last inference call for the model on this node.final DiscoveryNode
node()
Required - Information pertaining to the node.final int
Required - The number of allocations assigned to this node.final int
Required - The number of inference requests queued to be processed.of
(Function<TrainedModelDeploymentNodesStats.Builder, ObjectBuilder<TrainedModelDeploymentNodesStats>> fn) final int
Required - 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.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
setupTrainedModelDeploymentNodesStatsDeserializer
(ObjectDeserializer<TrainedModelDeploymentNodesStats.Builder> op) final long
Required - The epoch timestamp when the allocation started.final int
Required - The number of threads used by each allocation during inference.final int
Required - 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:
serialize
in interfaceJsonpSerializable
-
serializeInternal
-
toString
-
setupTrainedModelDeploymentNodesStatsDeserializer
protected static void setupTrainedModelDeploymentNodesStatsDeserializer(ObjectDeserializer<TrainedModelDeploymentNodesStats.Builder> op)
-