java.lang.Object
org.elasticsearch.injection.guice.AbstractModule
org.elasticsearch.discovery.DiscoveryModule
- All Implemented Interfaces:
Module
A module for loading classes for node discovery.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionDiscoveryModule
(Settings settings, TransportService transportService, Client client, NamedWriteableRegistry namedWriteableRegistry, NetworkService networkService, MasterService masterService, ClusterApplier clusterApplier, ClusterSettings clusterSettings, List<DiscoveryPlugin> discoveryPlugins, List<ClusterCoordinationPlugin> clusterCoordinationPlugins, AllocationService allocationService, Path configFile, GatewayMetaState gatewayMetaState, RerouteService rerouteService, NodeHealthService nodeHealthService, CircuitBreakerService circuitBreakerService, CompatibilityVersions compatibilityVersions, FeatureService featureService) -
Method Summary
Modifier and TypeMethodDescriptionprotected void
Configures aBinder
via the exposed methods.static boolean
isSingleNodeDiscovery
(Settings settings) Methods inherited from class org.elasticsearch.injection.guice.AbstractModule
bind, bind, binder, configure
-
Field Details
-
MULTI_NODE_DISCOVERY_TYPE
- See Also:
-
SINGLE_NODE_DISCOVERY_TYPE
- See Also:
-
DISCOVERY_TYPE_SETTING
-
DISCOVERY_SEED_PROVIDERS_SETTING
-
DEFAULT_ELECTION_STRATEGY
- See Also:
-
ELECTION_STRATEGY_SETTING
-
-
Constructor Details
-
DiscoveryModule
public DiscoveryModule(Settings settings, TransportService transportService, Client client, NamedWriteableRegistry namedWriteableRegistry, NetworkService networkService, MasterService masterService, ClusterApplier clusterApplier, ClusterSettings clusterSettings, List<DiscoveryPlugin> discoveryPlugins, List<ClusterCoordinationPlugin> clusterCoordinationPlugins, AllocationService allocationService, Path configFile, GatewayMetaState gatewayMetaState, RerouteService rerouteService, NodeHealthService nodeHealthService, CircuitBreakerService circuitBreakerService, CompatibilityVersions compatibilityVersions, FeatureService featureService)
-
-
Method Details
-
isSingleNodeDiscovery
-
configure
protected void configure()Description copied from class:AbstractModule
Configures aBinder
via the exposed methods.- Specified by:
configure
in classAbstractModule
-
getCoordinator
-
getReconfigurator
-