Class Discovery
java.lang.Object
co.elastic.clients.elasticsearch.nodes.Discovery
- All Implemented Interfaces:
JsonpSerializable
@JsonpDeserializable public class Discovery extends java.lang.Object implements JsonpSerializable
- See Also:
- API specification
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Discovery.Builder
Builder forDiscovery
. -
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<Discovery>
_DESERIALIZER
Json deserializer forDiscovery
-
Method Summary
Modifier and Type Method Description ClusterAppliedStats
clusterApplierStats()
API name:cluster_applier_stats
ClusterStateQueue
clusterStateQueue()
API name:cluster_state_queue
java.util.Map<java.lang.String,ClusterStateUpdate>
clusterStateUpdate()
API name:cluster_state_update
static Discovery
of(java.util.function.Function<Discovery.Builder,ObjectBuilder<Discovery>> fn)
PublishedClusterStates
publishedClusterStates()
API name:published_cluster_states
void
serialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
Serialize this object to JSON.SerializedClusterState
serializedClusterStates()
API name:serialized_cluster_states
protected void
serializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
protected static void
setupDiscoveryDeserializer(ObjectDeserializer<Discovery.Builder> op)
java.lang.String
toString()
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Field Details
-
_DESERIALIZER
Json deserializer forDiscovery
-
-
Method Details
-
of
public static Discovery of(java.util.function.Function<Discovery.Builder,ObjectBuilder<Discovery>> fn) -
clusterStateQueue
API name:cluster_state_queue
-
publishedClusterStates
API name:published_cluster_states
-
clusterStateUpdate
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
public java.lang.String toString()- Overrides:
toString
in classjava.lang.Object
-
setupDiscoveryDeserializer
-