public final class RawDirectoryWrapper extends BaseDirectoryWrapper
This class is used if you want the most realistic testing, but still with a checkindex on close. If you want asserts and evil things, use MockDirectoryWrapper instead.
isOpenin| Constructor and Description |
|---|
RawDirectoryWrapper(Directory delegate) |
| Modifier and Type | Method and Description |
|---|---|
void |
copyFrom(Directory from,
String src,
String dest,
IOContext context) |
protected void |
ensureOpen() |
ChecksumIndexInput |
openChecksumInput(String name,
IOContext context) |
close, getCheckIndexOnClose, getCrossCheckTermVectorsOnClose, isOpen, setCheckIndexOnClose, setCrossCheckTermVectorsOnClosecreateOutput, deleteFile, fileLength, getDelegate, listAll, obtainLock, openInput, renameFile, sync, toString, unwrappublic RawDirectoryWrapper(Directory delegate)
public void copyFrom(Directory from, String src, String dest, IOContext context) throws IOException
copyFrom in class DirectoryIOExceptionpublic ChecksumIndexInput openChecksumInput(String name, IOContext context) throws IOException
openChecksumInput in class DirectoryIOExceptionprotected void ensureOpen()
throws AlreadyClosedException
ensureOpen in class DirectoryAlreadyClosedExceptionCopyright © 2000-2015 Apache Software Foundation. All Rights Reserved.