Class JobSchedulerPlugin

java.lang.Object
org.opensearch.plugins.Plugin
org.opensearch.jobscheduler.JobSchedulerPlugin
All Implemented Interfaces:
Closeable, AutoCloseable, org.opensearch.plugins.ExtensiblePlugin

public class JobSchedulerPlugin extends org.opensearch.plugins.Plugin implements org.opensearch.plugins.ExtensiblePlugin
  • Nested Class Summary

    Nested classes/interfaces inherited from interface org.opensearch.plugins.ExtensiblePlugin

    org.opensearch.plugins.ExtensiblePlugin.ExtensionLoader
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
     
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    createComponents(org.opensearch.client.Client client, org.opensearch.cluster.service.ClusterService clusterService, org.opensearch.threadpool.ThreadPool threadPool, org.opensearch.watcher.ResourceWatcherService resourceWatcherService, org.opensearch.script.ScriptService scriptService, org.opensearch.core.xcontent.NamedXContentRegistry xContentRegistry, org.opensearch.env.Environment environment, org.opensearch.env.NodeEnvironment nodeEnvironment, org.opensearch.common.io.stream.NamedWriteableRegistry namedWriteableRegistry, org.opensearch.cluster.metadata.IndexNameExpressionResolver indexNameExpressionResolver, Supplier<org.opensearch.repositories.RepositoriesService> repositoriesServiceSupplier)
     
    List<org.opensearch.threadpool.ExecutorBuilder<?>>
    getExecutorBuilders(org.opensearch.common.settings.Settings settings)
     
    List<org.opensearch.core.xcontent.NamedXContentRegistry.Entry>
     
    List<org.opensearch.common.settings.Setting<?>>
     
    void
    loadExtensions(org.opensearch.plugins.ExtensiblePlugin.ExtensionLoader loader)
     
    void
    onIndexModule(org.opensearch.index.IndexModule indexModule)
     

    Methods inherited from class org.opensearch.plugins.Plugin

    additionalSettings, close, createGuiceModules, getAdditionalIndexSettingProviders, getBootstrapChecks, getFeature, getGuiceServiceClasses, getIndexTemplateMetadataUpgrader, getNamedWriteables, getRoles, getSettingsFilter, getSettingUpgraders

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • OPEN_DISTRO_JOB_SCHEDULER_THREAD_POOL_NAME

      public static final String OPEN_DISTRO_JOB_SCHEDULER_THREAD_POOL_NAME
      See Also:
  • Constructor Details

    • JobSchedulerPlugin

      public JobSchedulerPlugin()
  • Method Details

    • createComponents

      public Collection<Object> createComponents(org.opensearch.client.Client client, org.opensearch.cluster.service.ClusterService clusterService, org.opensearch.threadpool.ThreadPool threadPool, org.opensearch.watcher.ResourceWatcherService resourceWatcherService, org.opensearch.script.ScriptService scriptService, org.opensearch.core.xcontent.NamedXContentRegistry xContentRegistry, org.opensearch.env.Environment environment, org.opensearch.env.NodeEnvironment nodeEnvironment, org.opensearch.common.io.stream.NamedWriteableRegistry namedWriteableRegistry, org.opensearch.cluster.metadata.IndexNameExpressionResolver indexNameExpressionResolver, Supplier<org.opensearch.repositories.RepositoriesService> repositoriesServiceSupplier)
      Overrides:
      createComponents in class org.opensearch.plugins.Plugin
    • getSettings

      public List<org.opensearch.common.settings.Setting<?>> getSettings()
      Overrides:
      getSettings in class org.opensearch.plugins.Plugin
    • getExecutorBuilders

      public List<org.opensearch.threadpool.ExecutorBuilder<?>> getExecutorBuilders(org.opensearch.common.settings.Settings settings)
      Overrides:
      getExecutorBuilders in class org.opensearch.plugins.Plugin
    • onIndexModule

      public void onIndexModule(org.opensearch.index.IndexModule indexModule)
      Overrides:
      onIndexModule in class org.opensearch.plugins.Plugin
    • loadExtensions

      public void loadExtensions(org.opensearch.plugins.ExtensiblePlugin.ExtensionLoader loader)
      Specified by:
      loadExtensions in interface org.opensearch.plugins.ExtensiblePlugin
    • getNamedXContent

      public List<org.opensearch.core.xcontent.NamedXContentRegistry.Entry> getNamedXContent()
      Overrides:
      getNamedXContent in class org.opensearch.plugins.Plugin