| Package | Description |
|---|---|
| org.neo4j.io.file | |
| org.neo4j.io.fs | |
| org.neo4j.io.pagecache |
The Neo4j PageCache API
|
| Modifier and Type | Method and Description |
|---|---|
static OutputStream |
Files.createOrOpenAsOuputStream(FileSystemAbstraction fileSystem,
File file,
boolean append)
Creates a file, or opens an existing file.
|
| Modifier and Type | Class and Description |
|---|---|
class |
DefaultFileSystemAbstraction
Default file system abstraction that creates files using the underlying file system.
|
class |
DelegateFileSystemAbstraction
This FileSystemAbstract implementation delegates all calls to a given
FileSystem implementation. |
| Modifier and Type | Method and Description |
|---|---|
static long |
FileUtils.size(FileSystemAbstraction fs,
File path)
Calculates the size of a given directory or file given the provided abstract filesystem.
|
static Stream<FileHandle> |
StreamFilesRecursive.streamFilesRecursive(File directory,
FileSystemAbstraction fs)
Static implementation of
streamFilesRecursive(File) that does not require
any external state, other than what is presented through the given FileSystemAbstraction. |
| Constructor and Description |
|---|
FileSystemLifecycleAdapter(FileSystemAbstraction fileSystemAbstraction) |
| Modifier and Type | Method and Description |
|---|---|
FileSystemAbstraction |
PageCache.getCachedFileSystem()
Get the
FileSystemAbstraction that represents the filesystem where the paged files reside. |
FileSystemAbstraction |
PageSwapperFactory.getFileSystemAbstraction()
Get the
FileSystemAbstraction that represents the underlying storage for the page swapper. |
| Modifier and Type | Method and Description |
|---|---|
void |
PageSwapperFactory.open(FileSystemAbstraction fs,
org.neo4j.graphdb.config.Configuration config)
Open page swapper factory with provided filesystem and config
|
Copyright © 2002–2017 The Neo4j Graph Database Project. All rights reserved.