Package org.elasticsearch.test.store
Class MockFSDirectoryFactory
java.lang.Object
org.elasticsearch.test.store.MockFSDirectoryFactory
- All Implemented Interfaces:
IndexStorePlugin.DirectoryFactory
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final class -
Field Summary
FieldsModifier and TypeFieldDescription -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidcheckIndex(org.apache.logging.log4j.Logger logger, Store store, ShardId shardId) org.apache.lucene.store.DirectorynewDirectory(IndexSettings idxSettings, ShardPath path) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.elasticsearch.plugins.IndexStorePlugin.DirectoryFactory
newDirectory
-
Field Details
-
RANDOM_IO_EXCEPTION_RATE_ON_OPEN_SETTING
-
RANDOM_IO_EXCEPTION_RATE_SETTING
-
CRASH_INDEX_SETTING
-
-
Constructor Details
-
MockFSDirectoryFactory
public MockFSDirectoryFactory()
-
-
Method Details
-
newDirectory
public org.apache.lucene.store.Directory newDirectory(IndexSettings idxSettings, ShardPath path) throws IOException - Specified by:
newDirectoryin interfaceIndexStorePlugin.DirectoryFactory- Throws:
IOException
-
checkIndex
-