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