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