Class CgroupCpu

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

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

  • Method Details

    • of

    • controlGroup

      @Nullable public final String controlGroup()
      The cpu control group to which the Elasticsearch process belongs.

      API name: control_group

    • cfsPeriodMicros

      @Nullable public final Integer cfsPeriodMicros()
      The period of time, in microseconds, for how regularly all tasks in the same cgroup as the Elasticsearch process should have their access to CPU resources reallocated.

      API name: cfs_period_micros

    • cfsQuotaMicros

      @Nullable public final Integer cfsQuotaMicros()
      The total amount of time, in microseconds, for which all tasks in the same cgroup as the Elasticsearch process can run during one period cfs_period_micros.

      API name: cfs_quota_micros

    • stat

      @Nullable public final CgroupCpuStat stat()
      Contains CPU statistics for the node.

      API name: stat

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

      protected static void setupCgroupCpuDeserializer(ObjectDeserializer<CgroupCpu.Builder> op)