Class MockIndexOutputWrapper

  • All Implemented Interfaces:
    Closeable, AutoCloseable

    public class MockIndexOutputWrapper
    extends IndexOutput
    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.