Class ClusterOperatingSystem

java.lang.Object
co.elastic.clients.elasticsearch.cluster.stats.ClusterOperatingSystem
All Implemented Interfaces:
JsonpSerializable

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

  • Method Details

    • of

    • allocatedProcessors

      public final int allocatedProcessors()
      Required - Number of processors used to calculate thread pool size across all selected nodes. This number can be set with the processors setting of a node and defaults to the number of processors reported by the operating system. In both cases, this number will never be larger than 32.

      API name: allocated_processors

    • architectures

      public final List<ClusterOperatingSystemArchitecture> architectures()
      Contains statistics about processor architectures (for example, x86_64 or aarch64) used by selected nodes.

      API name: architectures

    • availableProcessors

      public final int availableProcessors()
      Required - Number of processors available to JVM across all selected nodes.

      API name: available_processors

    • mem

      public final OperatingSystemMemoryInfo mem()
      Required - Contains statistics about memory used by selected nodes.

      API name: mem

    • names

      public final List<ClusterOperatingSystemName> names()
      Required - Contains statistics about operating systems used by selected nodes.

      API name: names

    • prettyNames

      public final List<ClusterOperatingSystemPrettyName> prettyNames()
      Required - Contains statistics about operating systems used by selected nodes.

      API name: pretty_names

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

      protected static void setupClusterOperatingSystemDeserializer(ObjectDeserializer<ClusterOperatingSystem.Builder> op)