Package org.opensearch.systemd
Class SystemdPlugin
java.lang.Object
org.opensearch.plugins.Plugin
org.opensearch.systemd.SystemdPlugin
- All Implemented Interfaces:
Closeable,AutoCloseable,ClusterPlugin
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()createComponents(Client client, ClusterService clusterService, ThreadPool threadPool, ResourceWatcherService resourceWatcherService, ScriptService scriptService, org.opensearch.core.xcontent.NamedXContentRegistry xContentRegistry, Environment environment, NodeEnvironment nodeEnvironment, org.opensearch.core.common.io.stream.NamedWriteableRegistry namedWriteableRegistry, IndexNameExpressionResolver expressionResolver, Supplier<RepositoriesService> repositoriesServiceSupplier) voidMethods inherited from class org.opensearch.plugins.Plugin
additionalSettings, createGuiceModules, getAdditionalIndexSettingProviders, getBootstrapChecks, getExecutorBuilders, getFeature, getGuiceServiceClasses, getIndexTemplateMetadataUpgrader, getNamedWriteables, getNamedXContent, getRoles, getSettings, 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.ClusterPlugin
createAllocationDeciders, getExistingShardsAllocators, getShardsAllocators, onNodeStarted
-
Constructor Details
-
SystemdPlugin
public SystemdPlugin()
-
-
Method Details
-
createComponents
public Collection<Object> createComponents(Client client, ClusterService clusterService, ThreadPool threadPool, ResourceWatcherService resourceWatcherService, ScriptService scriptService, org.opensearch.core.xcontent.NamedXContentRegistry xContentRegistry, Environment environment, NodeEnvironment nodeEnvironment, org.opensearch.core.common.io.stream.NamedWriteableRegistry namedWriteableRegistry, IndexNameExpressionResolver expressionResolver, Supplier<RepositoriesService> repositoriesServiceSupplier) - Overrides:
createComponentsin classPlugin
-
onNodeStarted
public void onNodeStarted()- Specified by:
onNodeStartedin interfaceClusterPlugin
-
close
public void close()
-