Package org.elasticsearch.discovery
Interface Discovery
- All Superinterfaces:
AutoCloseable
,Closeable
,ClusterStatePublisher
,LifecycleComponent
,Releasable
- All Known Implementing Classes:
Coordinator
,ZenDiscovery
A pluggable module allowing to implement discovery of other nodes, publishing of the cluster
state to all nodes, electing a master of the cluster that raises cluster state change
events.
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.elasticsearch.cluster.coordination.ClusterStatePublisher
ClusterStatePublisher.AckListener
-
Method Summary
Methods inherited from interface org.elasticsearch.cluster.coordination.ClusterStatePublisher
publish
Methods inherited from interface org.elasticsearch.common.component.LifecycleComponent
addLifecycleListener, lifecycleState, removeLifecycleListener, start, stop
Methods inherited from interface org.elasticsearch.core.Releasable
close
-
Method Details
-
stats
DiscoveryStats stats()- Returns:
- stats about the discovery
-
startInitialJoin
void startInitialJoin()Triggers the first join cycle
-