| Package | Description |
|---|---|
| org.neo4j.io.pagecache |
The Neo4j PageCache API
|
| Modifier and Type | Method and Description |
|---|---|
void |
PageSwapper.evicted(long pageId,
Page page)
Notification that a page has been evicted, used to clean up state in structures
outside the page table.
|
void |
PageEvictionCallback.onEvict(long filePageId,
Page page)
Notify that the file/memory page has been evicted.
|
long |
PageSwapper.read(long filePageId,
Page page)
Read the page with the given filePageId, from the concrete file on the
file system, into the given page.
|
long |
PageSwapper.read(long startFilePageId,
Page[] pages,
int arrayOffset,
int length)
Read pages from the file into the given pages, starting from the given startFilePageId.
|
long |
PageSwapper.write(long filePageId,
Page page)
Write the contents of the given page, to the concrete file on the file
system, at the located indicated by the given filePageId.
|
long |
PageSwapper.write(long startFilePageId,
Page[] pages,
int arrayOffset,
int length)
Write the contents of the given pages, to the concrete file on the file system,
starting at the location of the given startFilePageId.
|
Copyright © 2002–2017 The Neo4j Graph Database Project. All rights reserved.