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
    • repositoriesService

      RepositoriesService repositoriesService()
      A service that manages snapshot repositories.
    • 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
    • dataStreamGlobalRetentionResolver

      DataStreamGlobalRetentionResolver dataStreamGlobalRetentionResolver()
      A service that resolves the data stream global retention that applies to data streams managed by the data stream lifecycle.
    • documentParsingProvider

      DocumentParsingProvider documentParsingProvider()
      A provider of utilities to observe and report parsing of documents