Class CgroupCpuStat

java.lang.Object
co.elastic.clients.elasticsearch.nodes.CgroupCpuStat
All Implemented Interfaces:
JsonpSerializable

@JsonpDeserializable public class CgroupCpuStat extends Object implements JsonpSerializable
See Also:
  • Field Details

  • Method Details

    • of

    • numberOfElapsedPeriods

      @Nullable public final Long numberOfElapsedPeriods()
      The number of reporting periods (as specified by cfs_period_micros) that have elapsed.

      API name: number_of_elapsed_periods

    • numberOfTimesThrottled

      @Nullable public final Long numberOfTimesThrottled()
      The number of times all tasks in the same cgroup as the Elasticsearch process have been throttled.

      API name: number_of_times_throttled

    • timeThrottledNanos

      @Nullable public final Long timeThrottledNanos()
      The total amount of time, in nanoseconds, for which all tasks in the same cgroup as the Elasticsearch process have been throttled.

      API name: time_throttled_nanos

    • 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
    • setupCgroupCpuStatDeserializer

      protected static void setupCgroupCpuStatDeserializer(ObjectDeserializer<CgroupCpuStat.Builder> op)