Class ClusterStateUpdate

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

@JsonpDeserializable public class ClusterStateUpdate extends Object implements JsonpSerializable
See Also:
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static class 
    Builder for ClusterStateUpdate.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    Json deserializer for ClusterStateUpdate
  • Method Summary

    Modifier and Type
    Method
    Description
    final Time
    The cumulative amount of time spent waiting for a successful cluster state update to commit, which measures the time from the start of each publication until a majority of the master-eligible nodes have written the state to disk and confirmed the write to the elected master.
    final Long
    The cumulative amount of time, in milliseconds, spent waiting for a successful cluster state update to commit, which measures the time from the start of each publication until a majority of the master-eligible nodes have written the state to disk and confirmed the write to the elected master.
    final Time
    The cumulative amount of time spent waiting for a successful cluster state update to complete, which measures the time from the start of each publication until all the other nodes have notified the elected master that they have applied the cluster state.
    final Long
    The cumulative amount of time, in milliseconds, spent waiting for a successful cluster state update to complete, which measures the time from the start of each publication until all the other nodes have notified the elected master that they have applied the cluster state.
    final Time
    The cumulative amount of time spent computing no-op cluster state updates since the node started.
    final Long
    The cumulative amount of time, in milliseconds, spent computing no-op cluster state updates since the node started.
    final Time
    The cumulative amount of time spent constructing a publication context since the node started for publications that ultimately succeeded.
    final Long
    The cumulative amount of time, in milliseconds, spent constructing a publication context since the node started for publications that ultimately succeeded.
    final long
    Required - The number of cluster state update attempts that did not change the cluster state since the node started.
    final Time
    The cumulative amount of time spent successfully applying cluster state updates on the elected master since the node started.
    final Long
    The cumulative amount of time, in milliseconds, spent successfully applying cluster state updates on the elected master since the node started.
    final Time
    The cumulative amount of time spent notifying listeners of a no-op cluster state update since the node started.
    final Long
    The cumulative amount of time, in milliseconds, spent notifying listeners of a no-op cluster state update since the node started.
     
    final Time
    The cumulative amount of time spent publishing cluster state updates which ultimately succeeded, which includes everything from the start of the publication (just after the computation of the new cluster state) until the publication has finished and the master node is ready to start processing the next state update.
    final Long
    The cumulative amount of time, in milliseconds, spent publishing cluster state updates which ultimately succeeded, which includes everything from the start of the publication (just after the computation of the new cluster state) until the publication has finished and the master node is ready to start processing the next state update.
    void
    serialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
    Serialize this object to JSON.
    protected void
    serializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
     
    protected static void
     
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Field Details

  • Method Details

    • of

    • count

      public final long count()
      Required - The number of cluster state update attempts that did not change the cluster state since the node started.

      API name: count

    • computationTime

      @Nullable public final Time computationTime()
      The cumulative amount of time spent computing no-op cluster state updates since the node started.

      API name: computation_time

    • computationTimeMillis

      @Nullable public final Long computationTimeMillis()
      The cumulative amount of time, in milliseconds, spent computing no-op cluster state updates since the node started.

      API name: computation_time_millis

    • publicationTime

      @Nullable public final Time publicationTime()
      The cumulative amount of time spent publishing cluster state updates which ultimately succeeded, which includes everything from the start of the publication (just after the computation of the new cluster state) until the publication has finished and the master node is ready to start processing the next state update. This includes the time measured by context_construction_time, commit_time, completion_time and master_apply_time.

      API name: publication_time

    • publicationTimeMillis

      @Nullable public final Long publicationTimeMillis()
      The cumulative amount of time, in milliseconds, spent publishing cluster state updates which ultimately succeeded, which includes everything from the start of the publication (just after the computation of the new cluster state) until the publication has finished and the master node is ready to start processing the next state update. This includes the time measured by context_construction_time, commit_time, completion_time and master_apply_time.

      API name: publication_time_millis

    • contextConstructionTime

      @Nullable public final Time contextConstructionTime()
      The cumulative amount of time spent constructing a publication context since the node started for publications that ultimately succeeded. This statistic includes the time spent computing the difference between the current and new cluster state preparing a serialized representation of this difference.

      API name: context_construction_time

    • contextConstructionTimeMillis

      @Nullable public final Long contextConstructionTimeMillis()
      The cumulative amount of time, in milliseconds, spent constructing a publication context since the node started for publications that ultimately succeeded. This statistic includes the time spent computing the difference between the current and new cluster state preparing a serialized representation of this difference.

      API name: context_construction_time_millis

    • commitTime

      @Nullable public final Time commitTime()
      The cumulative amount of time spent waiting for a successful cluster state update to commit, which measures the time from the start of each publication until a majority of the master-eligible nodes have written the state to disk and confirmed the write to the elected master.

      API name: commit_time

    • commitTimeMillis

      @Nullable public final Long commitTimeMillis()
      The cumulative amount of time, in milliseconds, spent waiting for a successful cluster state update to commit, which measures the time from the start of each publication until a majority of the master-eligible nodes have written the state to disk and confirmed the write to the elected master.

      API name: commit_time_millis

    • completionTime

      @Nullable public final Time completionTime()
      The cumulative amount of time spent waiting for a successful cluster state update to complete, which measures the time from the start of each publication until all the other nodes have notified the elected master that they have applied the cluster state.

      API name: completion_time

    • completionTimeMillis

      @Nullable public final Long completionTimeMillis()
      The cumulative amount of time, in milliseconds, spent waiting for a successful cluster state update to complete, which measures the time from the start of each publication until all the other nodes have notified the elected master that they have applied the cluster state.

      API name: completion_time_millis

    • masterApplyTime

      @Nullable public final Time masterApplyTime()
      The cumulative amount of time spent successfully applying cluster state updates on the elected master since the node started.

      API name: master_apply_time

    • masterApplyTimeMillis

      @Nullable public final Long masterApplyTimeMillis()
      The cumulative amount of time, in milliseconds, spent successfully applying cluster state updates on the elected master since the node started.

      API name: master_apply_time_millis

    • notificationTime

      @Nullable public final Time notificationTime()
      The cumulative amount of time spent notifying listeners of a no-op cluster state update since the node started.

      API name: notification_time

    • notificationTimeMillis

      @Nullable public final Long notificationTimeMillis()
      The cumulative amount of time, in milliseconds, spent notifying listeners of a no-op cluster state update since the node started.

      API name: notification_time_millis

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

      protected static void setupClusterStateUpdateDeserializer(ObjectDeserializer<ClusterStateUpdate.Builder> op)