Package org.elasticsearch.test.store
Class MockFSDirectoryFactory.ElasticsearchMockDirectoryWrapper
java.lang.Object
org.apache.lucene.store.Directory
org.apache.lucene.store.FilterDirectory
org.apache.lucene.tests.store.BaseDirectoryWrapper
org.apache.lucene.tests.store.MockDirectoryWrapper
org.elasticsearch.test.store.MockFSDirectoryFactory.ElasticsearchMockDirectoryWrapper
- All Implemented Interfaces:
Closeable,AutoCloseable
- Enclosing class:
MockFSDirectoryFactory
public static final class MockFSDirectoryFactory.ElasticsearchMockDirectoryWrapper
extends org.apache.lucene.tests.store.MockDirectoryWrapper
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.lucene.tests.store.MockDirectoryWrapper
org.apache.lucene.tests.store.MockDirectoryWrapper.Failure, org.apache.lucene.tests.store.MockDirectoryWrapper.FakeIOException, org.apache.lucene.tests.store.MockDirectoryWrapper.Throttling -
Field Summary
Fields inherited from class org.apache.lucene.tests.store.BaseDirectoryWrapper
isOpenFields inherited from class org.apache.lucene.store.FilterDirectory
in -
Constructor Summary
ConstructorsConstructorDescriptionElasticsearchMockDirectoryWrapper(Random random, org.apache.lucene.store.Directory delegate, boolean crash) -
Method Summary
Methods inherited from class org.apache.lucene.tests.store.MockDirectoryWrapper
clearCrash, close, copyFrom, corruptFiles, corruptUnknownFiles, createOutput, createTempOutput, deleteFile, ensureOpen, failOn, fileLength, getAssertNoDeleteOpenFile, getFileHandleCount, getInputCloneCount, getMaxSizeInBytes, getMaxUsedSizeInBytes, getOpenDeletedFiles, getRandomIOExceptionRate, getRandomIOExceptionRateOnOpen, listAll, obtainLock, openChecksumInput, openInput, removeIndexInput, removeIndexOutput, rename, resetMaxUsedSizeInBytes, setAllowRandomFileNotFoundException, setAllowReadingFilesStillOpenForWrite, setAssertNoDeleteOpenFile, setAssertNoUnrefencedFilesOnClose, setFailOnCreateOutput, setFailOnOpenInput, setMaxSizeInBytes, setRandomIOExceptionRate, setRandomIOExceptionRateOnOpen, setThrottling, setTrackDiskUsage, setUseSlowOpenClosers, setVerboseClone, sizeInBytes, sync, syncMetaData, toStringMethods inherited from class org.apache.lucene.tests.store.BaseDirectoryWrapper
getCheckIndexOnClose, getLevelForCheckOnClose, isOpen, setCheckIndexOnClose, setCrossCheckTermVectorsOnCloseMethods inherited from class org.apache.lucene.store.FilterDirectory
getDelegate, getPendingDeletions, unwrapMethods inherited from class org.apache.lucene.store.Directory
getTempFileName
-
Constructor Details
-
ElasticsearchMockDirectoryWrapper
public ElasticsearchMockDirectoryWrapper(Random random, org.apache.lucene.store.Directory delegate, boolean crash)
-
-
Method Details
-
crash
- Overrides:
crashin classorg.apache.lucene.tests.store.MockDirectoryWrapper- Throws:
IOException
-