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, getBootstrapChecks, getExecutorBuilders, getFeature, getGuiceServiceClasses, getIndexTemplateMetadataUpgrader, getNamedWriteables, getNamedXContent, getRoles, getSettingsFilter, getSettingUpgraders, onIndexModule

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

  • Method Details

    • getSettings

      public java.util.List<org.elasticsearch.common.settings.Setting<?>> getSettings()
      Overrides:
      getSettings in class org.elasticsearch.plugins.Plugin
    • getEngineFactory

      public java.util.Optional<org.elasticsearch.index.engine.EngineFactory> getEngineFactory​(org.elasticsearch.index.IndexSettings indexSettings)
      Specified by:
      getEngineFactory in interface org.elasticsearch.plugins.EnginePlugin
    • getReaderWrapperClass

      protected java.lang.Class<? extends org.apache.lucene.index.FilterDirectoryReader> getReaderWrapperClass()