Example usage for Java org.apache.lucene.store MockDirectoryWrapper fields, constructors, methods, implement or subclass
The text is from its open source code.
void | close() |
void | deleteFile(String name) |
boolean | isOpen() |
String[] | listAll() |
void | setAllowRandomFileNotFoundException(boolean value) If set to true (the default), when we throw random IOException on openInput or createOutput, we may sometimes throw FileNotFoundException or NoSuchFileException. |
void | setAssertNoUnrefencedFilesOnClose(boolean v) |
void | setCheckIndexOnClose(boolean value) Set whether or not checkindex should be run on close |
void | setFailOnOpenInput(boolean v) |
void | setRandomIOExceptionRate(double rate) If 0.0, no exceptions will be thrown. |
void | setRandomIOExceptionRateOnOpen(double rate) If 0.0, no exceptions will be thrown during openInput and createOutput. |
void | setThrottling(Throttling throttling) |