Class ConfigSyncPlugin
java.lang.Object
org.elasticsearch.plugins.Plugin
org.codelibs.elasticsearch.configsync.ConfigSyncPlugin
- All Implemented Interfaces:
Closeable,AutoCloseable,org.elasticsearch.plugins.ActionPlugin
public class ConfigSyncPlugin
extends org.elasticsearch.plugins.Plugin
implements org.elasticsearch.plugins.ActionPlugin
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.elasticsearch.plugins.ActionPlugin
org.elasticsearch.plugins.ActionPlugin.ActionHandler<Request extends org.elasticsearch.action.ActionRequest,Response extends org.elasticsearch.action.ActionResponse> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateComponents(org.elasticsearch.client.internal.Client client, org.elasticsearch.cluster.service.ClusterService clusterService, org.elasticsearch.threadpool.ThreadPool threadPool, org.elasticsearch.watcher.ResourceWatcherService resourceWatcherService, org.elasticsearch.script.ScriptService scriptService, org.elasticsearch.xcontent.NamedXContentRegistry xContentRegistry, org.elasticsearch.env.Environment environment, org.elasticsearch.env.NodeEnvironment nodeEnvironment, org.elasticsearch.common.io.stream.NamedWriteableRegistry namedWriteableRegistry, org.elasticsearch.cluster.metadata.IndexNameExpressionResolver indexNameExpressionResolver, Supplier<org.elasticsearch.repositories.RepositoriesService> repositoriesServiceSupplier, org.elasticsearch.telemetry.TelemetryProvider telemetryProvider, org.elasticsearch.cluster.routing.allocation.AllocationService allocationService, org.elasticsearch.indices.IndicesService indicesService) List<org.elasticsearch.plugins.ActionPlugin.ActionHandler<? extends org.elasticsearch.action.ActionRequest,? extends org.elasticsearch.action.ActionResponse>> List<org.elasticsearch.rest.RestHandler>getRestHandlers(org.elasticsearch.common.settings.Settings settings, org.elasticsearch.rest.RestController restController, org.elasticsearch.common.settings.ClusterSettings clusterSettings, org.elasticsearch.common.settings.IndexScopedSettings indexScopedSettings, org.elasticsearch.common.settings.SettingsFilter settingsFilter, org.elasticsearch.cluster.metadata.IndexNameExpressionResolver indexNameExpressionResolver, Supplier<org.elasticsearch.cluster.node.DiscoveryNodes> nodesInCluster) List<org.elasticsearch.common.settings.Setting<?>>Methods inherited from class org.elasticsearch.plugins.Plugin
additionalSettings, close, getAdditionalIndexSettingProviders, getBootstrapChecks, getExecutorBuilders, getIndexTemplateMetadataUpgrader, getNamedWriteables, getNamedXContent, getSettingsFilter, onIndexModuleMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.elasticsearch.plugins.ActionPlugin
getActionFilters, getRestHeaders, getTaskHeaders, indicesAliasesRequestValidators, mappingRequestValidators
-
Constructor Details
-
ConfigSyncPlugin
public ConfigSyncPlugin()
-
-
Method Details
-
getActions
public List<org.elasticsearch.plugins.ActionPlugin.ActionHandler<? extends org.elasticsearch.action.ActionRequest,? extends org.elasticsearch.action.ActionResponse>> getActions()- Specified by:
getActionsin interfaceorg.elasticsearch.plugins.ActionPlugin
-
getRestHandlers
public List<org.elasticsearch.rest.RestHandler> getRestHandlers(org.elasticsearch.common.settings.Settings settings, org.elasticsearch.rest.RestController restController, org.elasticsearch.common.settings.ClusterSettings clusterSettings, org.elasticsearch.common.settings.IndexScopedSettings indexScopedSettings, org.elasticsearch.common.settings.SettingsFilter settingsFilter, org.elasticsearch.cluster.metadata.IndexNameExpressionResolver indexNameExpressionResolver, Supplier<org.elasticsearch.cluster.node.DiscoveryNodes> nodesInCluster) - Specified by:
getRestHandlersin interfaceorg.elasticsearch.plugins.ActionPlugin
-
createComponents
public Collection<Object> createComponents(org.elasticsearch.client.internal.Client client, org.elasticsearch.cluster.service.ClusterService clusterService, org.elasticsearch.threadpool.ThreadPool threadPool, org.elasticsearch.watcher.ResourceWatcherService resourceWatcherService, org.elasticsearch.script.ScriptService scriptService, org.elasticsearch.xcontent.NamedXContentRegistry xContentRegistry, org.elasticsearch.env.Environment environment, org.elasticsearch.env.NodeEnvironment nodeEnvironment, org.elasticsearch.common.io.stream.NamedWriteableRegistry namedWriteableRegistry, org.elasticsearch.cluster.metadata.IndexNameExpressionResolver indexNameExpressionResolver, Supplier<org.elasticsearch.repositories.RepositoriesService> repositoriesServiceSupplier, org.elasticsearch.telemetry.TelemetryProvider telemetryProvider, org.elasticsearch.cluster.routing.allocation.AllocationService allocationService, org.elasticsearch.indices.IndicesService indicesService) - Overrides:
createComponentsin classorg.elasticsearch.plugins.Plugin
-
getSettings
- Overrides:
getSettingsin classorg.elasticsearch.plugins.Plugin
-