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:
  • Field Details

  • Method Details

    • of

    • averageInferenceTimeMs

      @Nullable public final Double averageInferenceTimeMs()
      The average time for each inference call to complete on this node.

      API name: average_inference_time_ms

    • averageInferenceTimeMsLastMinute

      @Nullable public final Double averageInferenceTimeMsLastMinute()
      API name: average_inference_time_ms_last_minute
    • averageInferenceTimeMsExcludingCacheHits

      @Nullable public final Double averageInferenceTimeMsExcludingCacheHits()
      The average time for each inference call to complete on this node, excluding cache

      API name: average_inference_time_ms_excluding_cache_hits

    • errorCount

      @Nullable public final Integer errorCount()
      The number of errors when evaluating the trained model.

      API name: error_count

    • inferenceCount

      @Nullable public final Long inferenceCount()
      The total number of inference calls made against this node for this model.

      API name: inference_count

    • inferenceCacheHitCount

      @Nullable public final Long inferenceCacheHitCount()
      API name: inference_cache_hit_count
    • inferenceCacheHitCountLastMinute

      @Nullable public final Long inferenceCacheHitCountLastMinute()
      API name: inference_cache_hit_count_last_minute
    • lastAccess

      @Nullable public final Long lastAccess()
      The epoch time stamp of the last inference call for the model on this node.

      API name: last_access

    • node

      @Nullable public final DiscoveryNodeContent node()
      Information pertaining to the node.

      API name: node

    • numberOfAllocations

      @Nullable public final Integer numberOfAllocations()
      The number of allocations assigned to this node.

      API name: number_of_allocations

    • numberOfPendingRequests

      @Nullable public final Integer numberOfPendingRequests()
      The number of inference requests queued to be processed.

      API name: number_of_pending_requests

    • peakThroughputPerMinute

      public final long peakThroughputPerMinute()
      Required - API name: peak_throughput_per_minute
    • rejectedExecutionCount

      @Nullable public final Integer rejectedExecutionCount()
      The number of inference requests that were not processed because the queue was full.

      API name: rejected_execution_count

    • routingState

      public final TrainedModelAssignmentRoutingStateAndReason routingState()
      Required - The current routing state and reason for the current routing state for this allocation.

      API name: routing_state

    • startTime

      @Nullable public final Long startTime()
      The epoch timestamp when the allocation started.

      API name: start_time

    • threadsPerAllocation

      @Nullable public final Integer threadsPerAllocation()
      The number of threads used by each allocation during inference.

      API name: threads_per_allocation

    • throughputLastMinute

      public final int throughputLastMinute()
      Required - API name: throughput_last_minute
    • timeoutCount

      @Nullable public final Integer timeoutCount()
      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 String toString()
      Overrides:
      toString in class Object
    • setupTrainedModelDeploymentNodesStatsDeserializer

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