public static final class DirectoryFactory.Single extends Object implements DirectoryFactory
DirectoryFactory.InMemoryDirectoryFactory, DirectoryFactory.Single, DirectoryFactory.UncloseableDirectoryPERSISTENT| Constructor and Description |
|---|
Single(org.apache.lucene.store.Directory directory) |
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Called when the directory factory is disposed of, really only here to allow
the ram directory thing to close open directories.
|
void |
dumpToZip(ZipOutputStream zip,
byte[] scratchPad) |
org.apache.lucene.store.Directory |
open(File dir) |
public org.apache.lucene.store.Directory open(File dir) throws IOException
open in interface DirectoryFactoryIOExceptionpublic void close()
DirectoryFactoryclose in interface Closeableclose in interface AutoCloseableclose in interface org.neo4j.io.fs.FileSystemAbstraction.ThirdPartyFileSystemclose in interface DirectoryFactorypublic void dumpToZip(ZipOutputStream zip, byte[] scratchPad)
dumpToZip in interface org.neo4j.io.fs.FileSystemAbstraction.ThirdPartyFileSystemCopyright © 2002–2017 The Neo4j Graph Database Project. All rights reserved.