Package org.opensearch.systemd
Class SystemdPlugin
java.lang.Object
org.opensearch.plugins.Plugin
org.opensearch.systemd.SystemdPlugin
- All Implemented Interfaces:
java.io.Closeable,java.lang.AutoCloseable,ClusterPlugin
public class SystemdPlugin extends Plugin implements ClusterPlugin
-
Constructor Summary
Constructors Constructor Description SystemdPlugin() -
Method Summary
Modifier and Type Method Description voidclose()java.util.Collection<java.lang.Object>createComponents(Client client, ClusterService clusterService, ThreadPool threadPool, ResourceWatcherService resourceWatcherService, ScriptService scriptService, NamedXContentRegistry xContentRegistry, Environment environment, NodeEnvironment nodeEnvironment, NamedWriteableRegistry namedWriteableRegistry, IndexNameExpressionResolver expressionResolver, java.util.function.Supplier<RepositoriesService> repositoriesServiceSupplier)voidonNodeStarted()Methods 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
-
Constructor Details
-
SystemdPlugin
public SystemdPlugin()
-
-
Method Details
-
createComponents
public java.util.Collection<java.lang.Object> createComponents(Client client, ClusterService clusterService, ThreadPool threadPool, ResourceWatcherService resourceWatcherService, ScriptService scriptService, NamedXContentRegistry xContentRegistry, Environment environment, NodeEnvironment nodeEnvironment, NamedWriteableRegistry namedWriteableRegistry, IndexNameExpressionResolver expressionResolver, java.util.function.Supplier<RepositoriesService> repositoriesServiceSupplier)- Overrides:
createComponentsin classPlugin
-
onNodeStarted
public void onNodeStarted()- Specified by:
onNodeStartedin interfaceClusterPlugin
-
close
public void close()
-