Interface Plugin.PluginServices

Enclosing class:
Plugin

public static interface Plugin.PluginServices
Provides access to various Elasticsearch services.
  • Method Details

    • client

      Client client()
      A client to make requests to the system
    • clusterService

      ClusterService clusterService()
      A service to allow watching and updating cluster state
    • rerouteService

      RerouteService rerouteService()
      A service to reroute shards to other nodes
    • threadPool

      ThreadPool threadPool()
      A service to allow retrieving an executor to run an async action
    • resourceWatcherService

      ResourceWatcherService resourceWatcherService()
      A service to watch for changes to node local files
    • scriptService

      ScriptService scriptService()
      A service to allow running scripts on the local node
    • xContentRegistry

      NamedXContentRegistry xContentRegistry()
      The registry for extensible xContent parsing
    • environment

      Environment environment()
      The environment for path and setting configurations
    • nodeEnvironment

      NodeEnvironment nodeEnvironment()
      The node environment used coordinate access to the data paths
    • namedWriteableRegistry

      NamedWriteableRegistry namedWriteableRegistry()
      The registry for NamedWriteable object parsing
    • indexNameExpressionResolver

      IndexNameExpressionResolver indexNameExpressionResolver()
      A service that resolves expression to index and alias names
    • repositoriesServiceSupplier

      Supplier<RepositoriesService> repositoriesServiceSupplier()
      A supplier for the service that manages snapshot repositories. This will return null when Plugin.createComponents(PluginServices) is called, but will return the repositories service once the node is initialized.
    • telemetryProvider

      TelemetryProvider telemetryProvider()
      An interface for distributed tracing
    • allocationService

      AllocationService allocationService()
      A service to manage shard allocation in the cluster
    • indicesService

      IndicesService indicesService()
      A service to manage indices in the cluster
    • featureService

      FeatureService featureService()
      A service to access features supported by nodes in the cluster
    • systemIndices

      SystemIndices systemIndices()
      The system indices for the cluster