java.lang.Object
java.lang.Record
org.elasticsearch.node.PluginServiceInstances
- All Implemented Interfaces:
Plugin.PluginServices
public record PluginServiceInstances(Client client, ClusterService clusterService, RerouteService rerouteService, ThreadPool threadPool, ResourceWatcherService resourceWatcherService, ScriptService scriptService, NamedXContentRegistry xContentRegistry, Environment environment, NodeEnvironment nodeEnvironment, NamedWriteableRegistry namedWriteableRegistry, IndexNameExpressionResolver indexNameExpressionResolver, RepositoriesService repositoriesService, TelemetryProvider telemetryProvider, AllocationService allocationService, IndicesService indicesService, FeatureService featureService, SystemIndices systemIndices, DataStreamGlobalRetentionSettings dataStreamGlobalRetentionSettings, DocumentParsingProvider documentParsingProvider, TaskManager taskManager)
extends Record
implements Plugin.PluginServices
-
Constructor Summary
ConstructorsConstructorDescriptionPluginServiceInstances
(Client client, ClusterService clusterService, RerouteService rerouteService, ThreadPool threadPool, ResourceWatcherService resourceWatcherService, ScriptService scriptService, NamedXContentRegistry xContentRegistry, Environment environment, NodeEnvironment nodeEnvironment, NamedWriteableRegistry namedWriteableRegistry, IndexNameExpressionResolver indexNameExpressionResolver, RepositoriesService repositoriesService, TelemetryProvider telemetryProvider, AllocationService allocationService, IndicesService indicesService, FeatureService featureService, SystemIndices systemIndices, DataStreamGlobalRetentionSettings dataStreamGlobalRetentionSettings, DocumentParsingProvider documentParsingProvider, TaskManager taskManager) Creates an instance of aPluginServiceInstances
record class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theallocationService
record component.client()
Returns the value of theclient
record component.Returns the value of theclusterService
record component.Returns the value of thedataStreamGlobalRetentionSettings
record component.Returns the value of thedocumentParsingProvider
record component.Returns the value of theenvironment
record component.final boolean
Indicates whether some other object is "equal to" this one.Returns the value of thefeatureService
record component.final int
hashCode()
Returns a hash code value for this object.Returns the value of theindexNameExpressionResolver
record component.Returns the value of theindicesService
record component.Returns the value of thenamedWriteableRegistry
record component.Returns the value of thenodeEnvironment
record component.Returns the value of therepositoriesService
record component.Returns the value of thererouteService
record component.Returns the value of theresourceWatcherService
record component.Returns the value of thescriptService
record component.Returns the value of thesystemIndices
record component.Returns the value of thetaskManager
record component.Returns the value of thetelemetryProvider
record component.Returns the value of thethreadPool
record component.final String
toString()
Returns a string representation of this record class.Returns the value of thexContentRegistry
record component.
-
Constructor Details
-
PluginServiceInstances
public PluginServiceInstances(Client client, ClusterService clusterService, RerouteService rerouteService, ThreadPool threadPool, ResourceWatcherService resourceWatcherService, ScriptService scriptService, NamedXContentRegistry xContentRegistry, Environment environment, NodeEnvironment nodeEnvironment, NamedWriteableRegistry namedWriteableRegistry, IndexNameExpressionResolver indexNameExpressionResolver, RepositoriesService repositoriesService, TelemetryProvider telemetryProvider, AllocationService allocationService, IndicesService indicesService, FeatureService featureService, SystemIndices systemIndices, DataStreamGlobalRetentionSettings dataStreamGlobalRetentionSettings, DocumentParsingProvider documentParsingProvider, TaskManager taskManager) Creates an instance of aPluginServiceInstances
record class.- Parameters:
client
- the value for theclient
record componentclusterService
- the value for theclusterService
record componentrerouteService
- the value for thererouteService
record componentthreadPool
- the value for thethreadPool
record componentresourceWatcherService
- the value for theresourceWatcherService
record componentscriptService
- the value for thescriptService
record componentxContentRegistry
- the value for thexContentRegistry
record componentenvironment
- the value for theenvironment
record componentnodeEnvironment
- the value for thenodeEnvironment
record componentnamedWriteableRegistry
- the value for thenamedWriteableRegistry
record componentindexNameExpressionResolver
- the value for theindexNameExpressionResolver
record componentrepositoriesService
- the value for therepositoriesService
record componenttelemetryProvider
- the value for thetelemetryProvider
record componentallocationService
- the value for theallocationService
record componentindicesService
- the value for theindicesService
record componentfeatureService
- the value for thefeatureService
record componentsystemIndices
- the value for thesystemIndices
record componentdataStreamGlobalRetentionSettings
- the value for thedataStreamGlobalRetentionSettings
record componentdocumentParsingProvider
- the value for thedocumentParsingProvider
record componenttaskManager
- the value for thetaskManager
record component
-
-
Method Details
-
toString
Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components. -
hashCode
public final int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared withObjects::equals(Object,Object)
. -
client
Returns the value of theclient
record component.- Specified by:
client
in interfacePlugin.PluginServices
- Returns:
- the value of the
client
record component
-
clusterService
Returns the value of theclusterService
record component.- Specified by:
clusterService
in interfacePlugin.PluginServices
- Returns:
- the value of the
clusterService
record component
-
rerouteService
Returns the value of thererouteService
record component.- Specified by:
rerouteService
in interfacePlugin.PluginServices
- Returns:
- the value of the
rerouteService
record component
-
threadPool
Returns the value of thethreadPool
record component.- Specified by:
threadPool
in interfacePlugin.PluginServices
- Returns:
- the value of the
threadPool
record component
-
resourceWatcherService
Returns the value of theresourceWatcherService
record component.- Specified by:
resourceWatcherService
in interfacePlugin.PluginServices
- Returns:
- the value of the
resourceWatcherService
record component
-
scriptService
Returns the value of thescriptService
record component.- Specified by:
scriptService
in interfacePlugin.PluginServices
- Returns:
- the value of the
scriptService
record component
-
xContentRegistry
Returns the value of thexContentRegistry
record component.- Specified by:
xContentRegistry
in interfacePlugin.PluginServices
- Returns:
- the value of the
xContentRegistry
record component
-
environment
Returns the value of theenvironment
record component.- Specified by:
environment
in interfacePlugin.PluginServices
- Returns:
- the value of the
environment
record component
-
nodeEnvironment
Returns the value of thenodeEnvironment
record component.- Specified by:
nodeEnvironment
in interfacePlugin.PluginServices
- Returns:
- the value of the
nodeEnvironment
record component
-
namedWriteableRegistry
Returns the value of thenamedWriteableRegistry
record component.- Specified by:
namedWriteableRegistry
in interfacePlugin.PluginServices
- Returns:
- the value of the
namedWriteableRegistry
record component
-
indexNameExpressionResolver
Returns the value of theindexNameExpressionResolver
record component.- Specified by:
indexNameExpressionResolver
in interfacePlugin.PluginServices
- Returns:
- the value of the
indexNameExpressionResolver
record component
-
repositoriesService
Returns the value of therepositoriesService
record component.- Specified by:
repositoriesService
in interfacePlugin.PluginServices
- Returns:
- the value of the
repositoriesService
record component
-
telemetryProvider
Returns the value of thetelemetryProvider
record component.- Specified by:
telemetryProvider
in interfacePlugin.PluginServices
- Returns:
- the value of the
telemetryProvider
record component
-
allocationService
Returns the value of theallocationService
record component.- Specified by:
allocationService
in interfacePlugin.PluginServices
- Returns:
- the value of the
allocationService
record component
-
indicesService
Returns the value of theindicesService
record component.- Specified by:
indicesService
in interfacePlugin.PluginServices
- Returns:
- the value of the
indicesService
record component
-
featureService
Returns the value of thefeatureService
record component.- Specified by:
featureService
in interfacePlugin.PluginServices
- Returns:
- the value of the
featureService
record component
-
systemIndices
Returns the value of thesystemIndices
record component.- Specified by:
systemIndices
in interfacePlugin.PluginServices
- Returns:
- the value of the
systemIndices
record component
-
dataStreamGlobalRetentionSettings
Returns the value of thedataStreamGlobalRetentionSettings
record component.- Specified by:
dataStreamGlobalRetentionSettings
in interfacePlugin.PluginServices
- Returns:
- the value of the
dataStreamGlobalRetentionSettings
record component
-
documentParsingProvider
Returns the value of thedocumentParsingProvider
record component.- Specified by:
documentParsingProvider
in interfacePlugin.PluginServices
- Returns:
- the value of the
documentParsingProvider
record component
-
taskManager
Returns the value of thetaskManager
record component.- Specified by:
taskManager
in interfacePlugin.PluginServices
- Returns:
- the value of the
taskManager
record component
-