Class ClusterStateUpdate
java.lang.Object
co.elastic.clients.elasticsearch.nodes.ClusterStateUpdate
- All Implemented Interfaces:
JsonpSerializable
- See Also:
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionstatic final JsonpDeserializer<ClusterStateUpdate>
Json deserializer forClusterStateUpdate
-
Method Summary
Modifier and TypeMethodDescriptionfinal 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
count()
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.static ClusterStateUpdate
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
toString()
-
Field Details
-
_DESERIALIZER
Json deserializer forClusterStateUpdate
-
-
Method Details
-
of
public static ClusterStateUpdate of(Function<ClusterStateUpdate.Builder, ObjectBuilder<ClusterStateUpdate>> fn) -
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
The cumulative amount of time spent computing no-op cluster state updates since the node started.API name:
computation_time
-
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
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 bycontext_construction_time
,commit_time
,completion_time
andmaster_apply_time
.API name:
publication_time
-
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 bycontext_construction_time
,commit_time
,completion_time
andmaster_apply_time
.API name:
publication_time_millis
-
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
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
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
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
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
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
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
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
The cumulative amount of time spent notifying listeners of a no-op cluster state update since the node started.API name:
notification_time
-
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
Serialize this object to JSON.- Specified by:
serialize
in interfaceJsonpSerializable
-
serializeInternal
-
toString
-
setupClusterStateUpdateDeserializer
protected static void setupClusterStateUpdateDeserializer(ObjectDeserializer<ClusterStateUpdate.Builder> op)
-