Package-level declarations
Types
Base class for Directories that "chunk" the input into blocks.
Base class for Directory implementations.
Minimal port of Lucene's BaseDirectoryWrapper. Only provides basic tracking of open state and a toggle for running checkIndex on close. The actual checkIndex logic is not implemented yet.
Base class for per-LockFactory tests.
Corrupts one bit of a file after close.
This is a Directory Wrapper that adds methods intended to be used only by unit tests. It also adds a number of features useful for testing:
Used by MockDirectoryWrapper to create an input stream that keeps track of when it's been closed.
Used to create an output stream that will throw an IOException on fake disk full, track max disk space actually used, and maybe throw random IOExceptions.
Delegates all operations, even optional ones, to the wrapped directory.
A Directory wrapper that counts the number of times that Lucene may wait for I/O to return serially. Lower counts mean that Lucene better takes advantage of I/O parallelism.