Package org.opensearch.discovery.ec2
Class Ec2DiscoveryPlugin
java.lang.Object
org.opensearch.plugins.Plugin
org.opensearch.discovery.ec2.Ec2DiscoveryPlugin
- All Implemented Interfaces:
Closeable,AutoCloseable,DiscoveryPlugin,ReloadablePlugin
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringprotected final org.opensearch.discovery.ec2.AwsEc2Service -
Constructor Summary
ConstructorsModifierConstructorDescriptionEc2DiscoveryPlugin(Settings settings) protectedEc2DiscoveryPlugin(Settings settings, org.opensearch.discovery.ec2.AwsEc2ServiceImpl ec2Service) -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()getCustomNameResolver(Settings settings) getSeedHostProviders(TransportService transportService, NetworkService networkService) voidMethods inherited from class org.opensearch.plugins.Plugin
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
getElectionStrategies, getJoinValidator
-
Field Details
-
EC2
- See Also:
-
ec2Service
protected final org.opensearch.discovery.ec2.AwsEc2Service ec2Service
-
-
Constructor Details
-
Ec2DiscoveryPlugin
-
Ec2DiscoveryPlugin
protected Ec2DiscoveryPlugin(Settings settings, org.opensearch.discovery.ec2.AwsEc2ServiceImpl ec2Service)
-
-
Method Details
-
getCustomNameResolver
- Specified by:
getCustomNameResolverin interfaceDiscoveryPlugin
-
getSeedHostProviders
public Map<String,Supplier<SeedHostsProvider>> getSeedHostProviders(TransportService transportService, NetworkService networkService) - Specified by:
getSeedHostProvidersin interfaceDiscoveryPlugin
-
getSettings
- Overrides:
getSettingsin classPlugin
-
additionalSettings
- Overrides:
additionalSettingsin classPlugin
-
close
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Overrides:
closein classPlugin- Throws:
IOException
-
reload
- Specified by:
reloadin interfaceReloadablePlugin
-