public class SimpleFileStorage<T> extends Object implements SimpleStorage<T>
| Constructor and Description |
|---|
SimpleFileStorage(org.neo4j.io.fs.FileSystemAbstraction fileSystem,
File directory,
String name,
ChannelMarshal<T> marshal,
org.neo4j.logging.LogProvider logProvider) |
public SimpleFileStorage(org.neo4j.io.fs.FileSystemAbstraction fileSystem,
File directory,
String name,
ChannelMarshal<T> marshal,
org.neo4j.logging.LogProvider logProvider)
public boolean exists()
exists in interface SimpleStorage<T>public T readState() throws IOException
readState in interface SimpleStorage<T>IOExceptionpublic void writeState(T state) throws IOException
writeState in interface SimpleStorage<T>IOExceptionCopyright © 2002–2016 The Neo4j Graph Database Project. All rights reserved.