java.io.Closeable, java.lang.AutoCloseablepublic static final class MockFSDirectoryService.ElasticsearchMockDirectoryWrapper
extends org.apache.lucene.store.MockDirectoryWrapper
| Constructor | Description |
|---|---|
ElasticsearchMockDirectoryWrapper(java.util.Random random,
org.apache.lucene.store.Directory delegate,
boolean crash) |
| Modifier and Type | Method | Description |
|---|---|---|
void |
crash() |
getCheckIndexOnClose, getCrossCheckTermVectorsOnClose, isOpen, setCheckIndexOnClose, setCrossCheckTermVectorsOnCloseclearCrash, close, copyFrom, corruptFiles, corruptUnknownFiles, createOutput, createTempOutput, deleteFile, ensureOpen, failOn, fileLength, getAssertNoDeleteOpenFile, getFileHandleCount, getInputCloneCount, getMaxSizeInBytes, getMaxUsedSizeInBytes, getOpenDeletedFiles, getRandomIOExceptionRate, getRandomIOExceptionRateOnOpen, getRecomputedActualSizeInBytes, getRecomputedSizeInBytes, listAll, obtainLock, openChecksumInput, openInput, removeIndexInput, removeIndexOutput, rename, resetMaxUsedSizeInBytes, setAllowRandomFileNotFoundException, setAllowReadingFilesStillOpenForWrite, setAssertNoDeleteOpenFile, setAssertNoUnrefencedFilesOnClose, setFailOnCreateOutput, setFailOnOpenInput, setMaxSizeInBytes, setRandomIOExceptionRate, setRandomIOExceptionRateOnOpen, setThrottling, setTrackDiskUsage, setUseSlowOpenClosers, setVerboseClone, sizeInBytes, sync, syncMetaData, toString