Package org.elasticsearch.discovery
Class DiscoveryModule
java.lang.Object
org.elasticsearch.discovery.DiscoveryModule
A module for loading classes for node discovery.
-
Field Summary
-
Constructor Summary
ConstructorDescriptionDiscoveryModule(Settings settings, ThreadPool threadPool, TransportService transportService, NamedWriteableRegistry namedWriteableRegistry, NetworkService networkService, MasterService masterService, ClusterApplier clusterApplier, ClusterSettings clusterSettings, List<DiscoveryPlugin> plugins, AllocationService allocationService, Path configFile, GatewayMetaState gatewayMetaState, RerouteService rerouteService, NodeHealthService nodeHealthService)
-
Method Summary
-
Field Details
-
ZEN_DISCOVERY_TYPE
- See Also:
- Constant Field Values
-
ZEN2_DISCOVERY_TYPE
- See Also:
- Constant Field Values
-
SINGLE_NODE_DISCOVERY_TYPE
- See Also:
- Constant Field Values
-
DISCOVERY_TYPE_SETTING
-
LEGACY_DISCOVERY_HOSTS_PROVIDER_SETTING
-
DISCOVERY_SEED_PROVIDERS_SETTING
-
DEFAULT_ELECTION_STRATEGY
- See Also:
- Constant Field Values
-
ELECTION_STRATEGY_SETTING
-
-
Constructor Details
-
DiscoveryModule
public DiscoveryModule(Settings settings, ThreadPool threadPool, TransportService transportService, NamedWriteableRegistry namedWriteableRegistry, NetworkService networkService, MasterService masterService, ClusterApplier clusterApplier, ClusterSettings clusterSettings, List<DiscoveryPlugin> plugins, AllocationService allocationService, Path configFile, GatewayMetaState gatewayMetaState, RerouteService rerouteService, NodeHealthService nodeHealthService)
-
-
Method Details
-
isSingleNodeDiscovery
-
getDiscovery
-