Package org.opensearch.jobscheduler
Class JobSchedulerPlugin
java.lang.Object
org.opensearch.plugins.Plugin
org.opensearch.jobscheduler.JobSchedulerPlugin
- All Implemented Interfaces:
Closeable,AutoCloseable,org.opensearch.plugins.ActionPlugin,org.opensearch.plugins.ExtensiblePlugin,org.opensearch.plugins.SystemIndexPlugin
public class JobSchedulerPlugin
extends org.opensearch.plugins.Plugin
implements org.opensearch.plugins.ActionPlugin, org.opensearch.plugins.ExtensiblePlugin, org.opensearch.plugins.SystemIndexPlugin
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.opensearch.plugins.ActionPlugin
org.opensearch.plugins.ActionPlugin.ActionHandler<Request extends org.opensearch.action.ActionRequest,Response extends org.opensearch.core.action.ActionResponse> Nested classes/interfaces inherited from interface org.opensearch.plugins.ExtensiblePlugin
org.opensearch.plugins.ExtensiblePlugin.ExtensionLoader -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateComponents(org.opensearch.transport.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.core.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> getRestHandlers(org.opensearch.common.settings.Settings settings, org.opensearch.rest.RestController restController, org.opensearch.common.settings.ClusterSettings clusterSettings, org.opensearch.common.settings.IndexScopedSettings indexScopedSettings, org.opensearch.common.settings.SettingsFilter settingsFilter, org.opensearch.cluster.metadata.IndexNameExpressionResolver indexNameExpressionResolver, Supplier<org.opensearch.cluster.node.DiscoveryNodes> nodesInCluster) List<org.opensearch.common.settings.Setting<?>> Collection<org.opensearch.indices.SystemIndexDescriptor> getSystemIndexDescriptors(org.opensearch.common.settings.Settings settings) voidloadExtensions(org.opensearch.plugins.ExtensiblePlugin.ExtensionLoader loader) voidonIndexModule(org.opensearch.index.IndexModule indexModule) Methods inherited from class org.opensearch.plugins.Plugin
additionalSettings, close, createGuiceModules, getAdditionalIndexSettingProviders, getBootstrapChecks, getFeature, getGuiceServiceClasses, getIndexTemplateMetadataUpgrader, getNamedWriteables, getRoles, getSecureSettingFactory, getSettingsFilter, getSettingUpgradersMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.opensearch.plugins.ActionPlugin
getActionFilters, getActions, getClientActions, getRestHandlerWrapper, getRestHeaders, getTaskHeaders, indicesAliasesRequestValidators, mappingRequestValidators
-
Field Details
-
OPEN_DISTRO_JOB_SCHEDULER_THREAD_POOL_NAME
- See Also:
-
JS_BASE_URI
- See Also:
-
-
Constructor Details
-
JobSchedulerPlugin
public JobSchedulerPlugin()
-
-
Method Details
-
getIndicesToListen
-
getIndexToJobProviders
-
getSystemIndexDescriptors
public Collection<org.opensearch.indices.SystemIndexDescriptor> getSystemIndexDescriptors(org.opensearch.common.settings.Settings settings) - Specified by:
getSystemIndexDescriptorsin interfaceorg.opensearch.plugins.SystemIndexPlugin
-
createComponents
public Collection<Object> createComponents(org.opensearch.transport.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.core.common.io.stream.NamedWriteableRegistry namedWriteableRegistry, org.opensearch.cluster.metadata.IndexNameExpressionResolver indexNameExpressionResolver, Supplier<org.opensearch.repositories.RepositoriesService> repositoriesServiceSupplier) - Overrides:
createComponentsin classorg.opensearch.plugins.Plugin
-
getSettings
- Overrides:
getSettingsin classorg.opensearch.plugins.Plugin
-
getExecutorBuilders
public List<org.opensearch.threadpool.ExecutorBuilder<?>> getExecutorBuilders(org.opensearch.common.settings.Settings settings) - Overrides:
getExecutorBuildersin classorg.opensearch.plugins.Plugin
-
onIndexModule
public void onIndexModule(org.opensearch.index.IndexModule indexModule) - Overrides:
onIndexModulein classorg.opensearch.plugins.Plugin
-
loadExtensions
public void loadExtensions(org.opensearch.plugins.ExtensiblePlugin.ExtensionLoader loader) - Specified by:
loadExtensionsin interfaceorg.opensearch.plugins.ExtensiblePlugin
-
getNamedXContent
- Overrides:
getNamedXContentin classorg.opensearch.plugins.Plugin
-
getRestHandlers
public List getRestHandlers(org.opensearch.common.settings.Settings settings, org.opensearch.rest.RestController restController, org.opensearch.common.settings.ClusterSettings clusterSettings, org.opensearch.common.settings.IndexScopedSettings indexScopedSettings, org.opensearch.common.settings.SettingsFilter settingsFilter, org.opensearch.cluster.metadata.IndexNameExpressionResolver indexNameExpressionResolver, Supplier<org.opensearch.cluster.node.DiscoveryNodes> nodesInCluster) - Specified by:
getRestHandlersin interfaceorg.opensearch.plugins.ActionPlugin
-