public abstract class BaseDirectoryWrapper extends FilterDirectory
Modifier and Type | Field and Description |
---|---|
protected boolean |
isOpen |
in
Modifier | Constructor and Description |
---|---|
protected |
BaseDirectoryWrapper(Directory delegate) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
boolean |
getCheckIndexOnClose() |
boolean |
getCrossCheckTermVectorsOnClose() |
boolean |
isOpen() |
void |
setCheckIndexOnClose(boolean value)
Set whether or not checkindex should be run
on close
|
void |
setCrossCheckTermVectorsOnClose(boolean value) |
createOutput, createTempOutput, deleteFile, fileLength, getDelegate, listAll, obtainLock, openInput, rename, sync, syncMetaData, toString, unwrap
copyFrom, ensureOpen, openChecksumInput, renameFile
protected BaseDirectoryWrapper(Directory delegate)
public void close() throws IOException
close
in interface Closeable
close
in interface AutoCloseable
close
in class FilterDirectory
IOException
public boolean isOpen()
public void setCheckIndexOnClose(boolean value)
public boolean getCheckIndexOnClose()
public void setCrossCheckTermVectorsOnClose(boolean value)
public boolean getCrossCheckTermVectorsOnClose()
Copyright © 2000-2016 Apache Software Foundation. All Rights Reserved.