Package org.elasticsearch.test.store
Class MockFSIndexStore.TestPlugin
java.lang.Object
org.elasticsearch.plugins.Plugin
org.elasticsearch.test.store.MockFSIndexStore.TestPlugin
- All Implemented Interfaces:
java.io.Closeable
,java.lang.AutoCloseable
,org.elasticsearch.plugins.IndexStorePlugin
- Enclosing class:
- MockFSIndexStore
public static class MockFSIndexStore.TestPlugin
extends org.elasticsearch.plugins.Plugin
implements org.elasticsearch.plugins.IndexStorePlugin
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.elasticsearch.plugins.IndexStorePlugin
org.elasticsearch.plugins.IndexStorePlugin.DirectoryFactory, org.elasticsearch.plugins.IndexStorePlugin.IndexFoldersDeletionListener, org.elasticsearch.plugins.IndexStorePlugin.RecoveryStateFactory, org.elasticsearch.plugins.IndexStorePlugin.SnapshotCommitSupplier
-
Constructor Summary
Constructors Constructor Description TestPlugin()
-
Method Summary
Modifier and Type Method Description org.elasticsearch.common.settings.Settings
additionalSettings()
java.util.Map<java.lang.String,org.elasticsearch.plugins.IndexStorePlugin.DirectoryFactory>
getDirectoryFactories()
java.util.List<org.elasticsearch.common.settings.Setting<?>>
getSettings()
void
onIndexModule(org.elasticsearch.index.IndexModule indexModule)
Methods inherited from class org.elasticsearch.plugins.Plugin
close, createComponents, createGuiceModules, getAdditionalIndexSettingProviders, getBootstrapChecks, getExecutorBuilders, getFeature, getGuiceServiceClasses, getIndexTemplateMetadataUpgrader, getNamedWriteables, getNamedXContent, getRoles, getSettingsFilter, getSettingUpgraders
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.elasticsearch.plugins.IndexStorePlugin
getIndexFoldersDeletionListeners, getRecoveryStateFactories, getSnapshotCommitSuppliers
-
Constructor Details
-
TestPlugin
public TestPlugin()
-
-
Method Details
-
additionalSettings
public org.elasticsearch.common.settings.Settings additionalSettings()- Overrides:
additionalSettings
in classorg.elasticsearch.plugins.Plugin
-
getSettings
public java.util.List<org.elasticsearch.common.settings.Setting<?>> getSettings()- Overrides:
getSettings
in classorg.elasticsearch.plugins.Plugin
-
getDirectoryFactories
public java.util.Map<java.lang.String,org.elasticsearch.plugins.IndexStorePlugin.DirectoryFactory> getDirectoryFactories()- Specified by:
getDirectoryFactories
in interfaceorg.elasticsearch.plugins.IndexStorePlugin
-
onIndexModule
public void onIndexModule(org.elasticsearch.index.IndexModule indexModule)- Overrides:
onIndexModule
in classorg.elasticsearch.plugins.Plugin
-