Class AzureDiscoveryPlugin
java.lang.Object
org.opensearch.plugins.Plugin
org.opensearch.plugin.discovery.azure.classic.AzureDiscoveryPlugin
- All Implemented Interfaces:
java.io.Closeable,java.lang.AutoCloseable,DiscoveryPlugin
public class AzureDiscoveryPlugin extends Plugin implements DiscoveryPlugin
-
Field Summary
-
Constructor Summary
Constructors Constructor Description AzureDiscoveryPlugin(Settings settings) -
Method Summary
Modifier and Type Method Description protected AzureComputeServicecreateComputeService()protected AzureSeedHostsProvidercreateSeedHostsProvider(Settings settings, AzureComputeService azureComputeService, TransportService transportService, NetworkService networkService)java.util.Map<java.lang.String,java.util.function.Supplier<SeedHostsProvider>>getSeedHostProviders(TransportService transportService, NetworkService networkService)java.util.List<Setting<?>>getSettings()Methods inherited from class org.opensearch.plugins.Plugin
additionalSettings, close, createComponents, createGuiceModules, getAdditionalIndexSettingProviders, getBootstrapChecks, getExecutorBuilders, getFeature, getGuiceServiceClasses, getIndexTemplateMetadataUpgrader, getNamedWriteables, getNamedXContent, getRoles, getSettingsFilter, getSettingUpgraders, onIndexModuleMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.opensearch.plugins.DiscoveryPlugin
getCustomNameResolver, getElectionStrategies, getJoinValidator
-
Field Details
-
AZURE
public static final java.lang.String AZURE- See Also:
- Constant Field Values
-
settings
-
-
Constructor Details
-
Method Details
-
createComputeService
-
getSeedHostProviders
public java.util.Map<java.lang.String,java.util.function.Supplier<SeedHostsProvider>> getSeedHostProviders(TransportService transportService, NetworkService networkService)- Specified by:
getSeedHostProvidersin interfaceDiscoveryPlugin
-
createSeedHostsProvider
protected AzureSeedHostsProvider createSeedHostsProvider(Settings settings, AzureComputeService azureComputeService, TransportService transportService, NetworkService networkService) -
getSettings
- Overrides:
getSettingsin classPlugin
-