public static final class DirectoryFactory.UncloseableDirectory
extends org.apache.lucene.store.Directory
| Constructor and Description |
|---|
DirectoryFactory.UncloseableDirectory(org.apache.lucene.store.Directory delegate) |
| Modifier and Type | Method and Description |
|---|---|
void |
clearLock(String name) |
void |
close() |
static void |
copy(org.apache.lucene.store.Directory src,
org.apache.lucene.store.Directory dest,
boolean closeDirSrc)
Deprecated.
|
void |
copy(org.apache.lucene.store.Directory to,
String src,
String dest) |
org.apache.lucene.store.IndexOutput |
createOutput(String s) |
void |
deleteFile(String s) |
boolean |
fileExists(String s) |
long |
fileLength(String s) |
long |
fileModified(String s)
Deprecated.
|
org.apache.lucene.store.LockFactory |
getLockFactory() |
String |
getLockID() |
String[] |
listAll() |
org.apache.lucene.store.Lock |
makeLock(String name) |
org.apache.lucene.store.IndexInput |
openInput(String s) |
org.apache.lucene.store.IndexInput |
openInput(String name,
int bufferSize) |
void |
setLockFactory(org.apache.lucene.store.LockFactory lockFactory) |
void |
sync(Collection<String> names) |
void |
sync(String name)
Deprecated.
|
String |
toString() |
void |
touchFile(String s)
Deprecated.
|
public DirectoryFactory.UncloseableDirectory(org.apache.lucene.store.Directory delegate)
public void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableclose in class org.apache.lucene.store.DirectoryIOExceptionpublic String[] listAll() throws IOException
listAll in class org.apache.lucene.store.DirectoryIOExceptionpublic boolean fileExists(String s) throws IOException
fileExists in class org.apache.lucene.store.DirectoryIOException@Deprecated public long fileModified(String s) throws IOException
fileModified in class org.apache.lucene.store.DirectoryIOException@Deprecated public void touchFile(String s) throws IOException
touchFile in class org.apache.lucene.store.DirectoryIOExceptionpublic void deleteFile(String s) throws IOException
deleteFile in class org.apache.lucene.store.DirectoryIOExceptionpublic long fileLength(String s) throws IOException
fileLength in class org.apache.lucene.store.DirectoryIOExceptionpublic org.apache.lucene.store.IndexOutput createOutput(String s) throws IOException
createOutput in class org.apache.lucene.store.DirectoryIOException@Deprecated public void sync(String name) throws IOException
sync in class org.apache.lucene.store.DirectoryIOExceptionpublic void sync(Collection<String> names) throws IOException
sync in class org.apache.lucene.store.DirectoryIOExceptionpublic org.apache.lucene.store.IndexInput openInput(String s) throws IOException
openInput in class org.apache.lucene.store.DirectoryIOExceptionpublic org.apache.lucene.store.IndexInput openInput(String name, int bufferSize) throws IOException
openInput in class org.apache.lucene.store.DirectoryIOExceptionpublic org.apache.lucene.store.Lock makeLock(String name)
makeLock in class org.apache.lucene.store.Directorypublic void clearLock(String name) throws IOException
clearLock in class org.apache.lucene.store.DirectoryIOExceptionpublic void setLockFactory(org.apache.lucene.store.LockFactory lockFactory)
throws IOException
setLockFactory in class org.apache.lucene.store.DirectoryIOExceptionpublic org.apache.lucene.store.LockFactory getLockFactory()
getLockFactory in class org.apache.lucene.store.Directorypublic String getLockID()
getLockID in class org.apache.lucene.store.Directorypublic String toString()
toString in class org.apache.lucene.store.Directorypublic void copy(org.apache.lucene.store.Directory to,
String src,
String dest)
throws IOException
copy in class org.apache.lucene.store.DirectoryIOException@Deprecated public static void copy(org.apache.lucene.store.Directory src, org.apache.lucene.store.Directory dest, boolean closeDirSrc) throws IOException
IOExceptionCopyright © 2002–2015 The Neo4j Graph Database Project. All rights reserved.