public interface PageFaultEvent extends EvictionEventOpportunity
| 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.
|
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(long cachePageId)
The id of the cache page that is being faulted into.
|
beginEvictionstatic final PageFaultEvent NULL
void addBytesRead(long bytes)
void setCachePageId(long cachePageId)
void done()
void done(Throwable throwable)
Copyright © 2002–2018 The Neo4j Graph Database Project. All rights reserved.