Java org.apache.lucene.store MockDirectoryWrapper fields, constructors, methods, implement or subclass

Example usage for Java org.apache.lucene.store MockDirectoryWrapper fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.apache.lucene.store MockDirectoryWrapper.

The text is from its open source code.

Constructor

Method

voidclose()
voiddeleteFile(String name)
booleanisOpen()
String[]listAll()
voidsetAllowRandomFileNotFoundException(boolean value)
If set to true (the default), when we throw random IOException on openInput or createOutput, we may sometimes throw FileNotFoundException or NoSuchFileException.
voidsetAssertNoUnrefencedFilesOnClose(boolean v)
voidsetCheckIndexOnClose(boolean value)
Set whether or not checkindex should be run on close
voidsetFailOnOpenInput(boolean v)
voidsetRandomIOExceptionRate(double rate)
If 0.0, no exceptions will be thrown.
voidsetRandomIOExceptionRateOnOpen(double rate)
If 0.0, no exceptions will be thrown during openInput and createOutput.
voidsetThrottling(Throttling throttling)