Module org.elasticsearch.server
Package org.elasticsearch.inference
Class InferenceServiceRegistryImpl
java.lang.Object
org.elasticsearch.inference.InferenceServiceRegistryImpl
- All Implemented Interfaces:
Closeable
,AutoCloseable
,InferenceServiceRegistry
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.elasticsearch.inference.InferenceServiceRegistry
InferenceServiceRegistry.NoopInferenceServiceRegistry
-
Constructor Summary
ConstructorsConstructorDescriptionInferenceServiceRegistryImpl
(List<InferenceServiceExtension> inferenceServicePlugins, InferenceServiceExtension.InferenceServiceFactoryContext factoryContext) -
Method Summary
-
Constructor Details
-
InferenceServiceRegistryImpl
public InferenceServiceRegistryImpl(List<InferenceServiceExtension> inferenceServicePlugins, InferenceServiceExtension.InferenceServiceFactoryContext factoryContext)
-
-
Method Details
-
init
- Specified by:
init
in interfaceInferenceServiceRegistry
-
getServices
- Specified by:
getServices
in interfaceInferenceServiceRegistry
-
getService
- Specified by:
getService
in interfaceInferenceServiceRegistry
-
getNamedWriteables
- Specified by:
getNamedWriteables
in interfaceInferenceServiceRegistry
-
close
- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
- Throws:
IOException
-