public interface PageFaultEvent
| Modifier and Type | Field and Description |
|---|---|
static PageFaultEvent |
NULL
A PageFaultEvent that does nothing.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addBytesRead(long bytes)
Add up a number of bytes that has been read from the backing file into the free page being bound.
|
EvictionEvent |
beginEviction()
Begin an eviction event caused by this page fault event.
|
void |
done()
The page fault completed successfully.
|
void |
done(Throwable throwable)
The page fault did not complete successfully, but instead caused the given Throwable to be thrown.
|
void |
setCachePageId(int cachePageId)
The id of the cache page that is being faulted into.
|
static final PageFaultEvent NULL
void addBytesRead(long bytes)
void setCachePageId(int cachePageId)
void done()
void done(Throwable throwable)
EvictionEvent beginEviction()
Copyright © 2002–2017 The Neo4j Graph Database Project. All rights reserved.