Class Discovery
java.lang.Object
co.elastic.clients.elasticsearch.nodes.Discovery
- All Implemented Interfaces:
JsonpSerializable
- See Also:
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionstatic final JsonpDeserializer<Discovery>
Json deserializer forDiscovery
-
Method Summary
Modifier and TypeMethodDescriptionfinal ClusterAppliedStats
API name:cluster_applier_stats
final ClusterStateQueue
Contains statistics for the cluster state queue of the node.final Map<String,
ClusterStateUpdate> Contains low-level statistics about how long various activities took during cluster state updates while the node was the elected master.static Discovery
final PublishedClusterStates
Contains statistics for the published cluster states of the node.void
serialize
(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) Serialize this object to JSON.final SerializedClusterState
API name:serialized_cluster_states
protected void
serializeInternal
(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static void
toString()
-
Field Details
-
_DESERIALIZER
Json deserializer forDiscovery
-
-
Method Details
-
of
-
clusterStateQueue
Contains statistics for the cluster state queue of the node.API name:
cluster_state_queue
-
publishedClusterStates
Contains statistics for the published cluster states of the node.API name:
published_cluster_states
-
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
API name:serialized_cluster_states
-
clusterApplierStats
API name:cluster_applier_stats
-
serialize
Serialize this object to JSON.- Specified by:
serialize
in interfaceJsonpSerializable
-
serializeInternal
-
toString
-
setupDiscoveryDeserializer
-