Class MockEngineFactoryPlugin
java.lang.Object
org.opensearch.plugins.Plugin
org.opensearch.index.MockEngineFactoryPlugin
- All Implemented Interfaces:
Closeable,AutoCloseable,org.opensearch.plugins.EnginePlugin
public class MockEngineFactoryPlugin
extends org.opensearch.plugins.Plugin
implements org.opensearch.plugins.EnginePlugin
A plugin to use
MockEngineFactory.
Subclasses may override the reader wrapper used.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionOptional<org.opensearch.index.engine.EngineFactory> getEngineFactory(org.opensearch.index.IndexSettings indexSettings) protected Class<? extends org.apache.lucene.index.FilterDirectoryReader> List<org.opensearch.common.settings.Setting<?>> Methods inherited from class org.opensearch.plugins.Plugin
additionalSettings, close, createComponents, createGuiceModules, getAdditionalIndexSettingProviders, getBootstrapChecks, getExecutorBuilders, getFeature, getGuiceServiceClasses, getIndexTemplateMetadataUpgrader, getNamedWriteables, getNamedXContent, getRoles, getSecureSettingFactory, getSettingsFilter, getSettingUpgraders, onIndexModuleMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.opensearch.plugins.EnginePlugin
getCustomCodecService, getCustomCodecServiceFactory, getCustomTranslogDeletionPolicyFactory
-
Constructor Details
-
MockEngineFactoryPlugin
public MockEngineFactoryPlugin()
-
-
Method Details
-
getSettings
- Overrides:
getSettingsin classorg.opensearch.plugins.Plugin
-
getEngineFactory
public Optional<org.opensearch.index.engine.EngineFactory> getEngineFactory(org.opensearch.index.IndexSettings indexSettings) - Specified by:
getEngineFactoryin interfaceorg.opensearch.plugins.EnginePlugin
-
getReaderWrapperClass
-