Class TrainedModelDeploymentNodesStats

java.lang.Object
co.elastic.clients.elasticsearch.ml.TrainedModelDeploymentNodesStats
All Implemented Interfaces:
JsonpSerializable

@JsonpDeserializable
public class TrainedModelDeploymentNodesStats
extends java.lang.Object
implements JsonpSerializable
See Also:
API specification
  • Field Details

  • 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

      public final DiscoveryNode 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

      public final TrainedModelAllocationRoutingTable 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

      public void serialize​(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
      Serialize this object to JSON.
      Specified by:
      serialize in interface JsonpSerializable
    • serializeInternal

      protected void serializeInternal​(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
    • toString

      public java.lang.String toString()
      Overrides:
      toString in class java.lang.Object
    • setupTrainedModelDeploymentNodesStatsDeserializer

      protected static void setupTrainedModelDeploymentNodesStatsDeserializer​(ObjectDeserializer<TrainedModelDeploymentNodesStats.Builder> op)