public class DiscoveryModule
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static Setting<java.util.Optional<java.lang.String>> |
DISCOVERY_HOSTS_PROVIDER_SETTING |
static Setting<java.lang.String> |
DISCOVERY_TYPE_SETTING |
Constructor and Description |
---|
DiscoveryModule(Settings settings,
ThreadPool threadPool,
TransportService transportService,
NamedWriteableRegistry namedWriteableRegistry,
NetworkService networkService,
ClusterService clusterService,
java.util.List<DiscoveryPlugin> plugins) |
Modifier and Type | Method and Description |
---|---|
Discovery |
getDiscovery() |
public static final Setting<java.lang.String> DISCOVERY_TYPE_SETTING
public static final Setting<java.util.Optional<java.lang.String>> DISCOVERY_HOSTS_PROVIDER_SETTING
public DiscoveryModule(Settings settings, ThreadPool threadPool, TransportService transportService, NamedWriteableRegistry namedWriteableRegistry, NetworkService networkService, ClusterService clusterService, java.util.List<DiscoveryPlugin> plugins)
public Discovery getDiscovery()