Class Discovery

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

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

  • Method Details

    • of

    • clusterStateQueue

      @Nullable public final ClusterStateQueue clusterStateQueue()
      Contains statistics for the cluster state queue of the node.

      API name: cluster_state_queue

    • publishedClusterStates

      @Nullable public final PublishedClusterStates publishedClusterStates()
      Contains statistics for the published cluster states of the node.

      API name: published_cluster_states

    • clusterStateUpdate

      public final Map<String,ClusterStateUpdate> clusterStateUpdate()
      Contains low-level statistics about how long various activities took during cluster state updates while the node was the elected master. Omitted if the node is not master-eligible. Every field whose name ends in _time within this object is also represented as a raw number of milliseconds in a field whose name ends in _time_millis. The human-readable fields with a _time suffix are only returned if requested with the ?human=true query parameter.

      API name: cluster_state_update

    • serializedClusterStates

      @Nullable public final SerializedClusterState serializedClusterStates()
      API name: serialized_cluster_states
    • clusterApplierStats

      @Nullable public final ClusterAppliedStats clusterApplierStats()
      API name: cluster_applier_stats
    • 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
    • setupDiscoveryDeserializer

      protected static void setupDiscoveryDeserializer(ObjectDeserializer<Discovery.Builder> op)