Class ClusterNodes

    • Method Detail

      • count

        public final ClusterNodeCount count()
        Required - Contains counts for nodes selected by the request's node filters.

        API name: count

      • discoveryTypes

        public final java.util.Map<java.lang.String,​java.lang.Integer> discoveryTypes()
        Required - Contains statistics about the discovery types used by selected nodes.

        API name: discovery_types

      • fs

        public final ClusterFileSystem fs()
        Required - Contains statistics about file stores by selected nodes.

        API name: fs

      • ingest

        public final ClusterIngest ingest()
        Required - API name: ingest
      • jvm

        public final ClusterJvm jvm()
        Required - Contains statistics about the Java Virtual Machines (JVMs) used by selected nodes.

        API name: jvm

      • networkTypes

        public final ClusterNetworkTypes networkTypes()
        Required - Contains statistics about the transport and HTTP networks used by selected nodes.

        API name: network_types

      • os

        public final ClusterOperatingSystem os()
        Required - Contains statistics about the operating systems used by selected nodes.

        API name: os

      • packagingTypes

        public final java.util.List<NodePackagingType> packagingTypes()
        Required - Contains statistics about OpenSearch distributions installed on selected nodes.

        API name: packaging_types

      • plugins

        public final java.util.List<PluginStats> plugins()
        Required - Contains statistics about installed plugins and modules by selected nodes.

        API name: plugins

      • process

        public final ClusterProcess process()
        Required - Contains statistics about processes used by selected nodes.

        API name: process

      • versions

        public final java.util.List<java.lang.String> versions()
        Required - Array of OpenSearch versions used on selected nodes.

        API name: versions

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