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(int 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(int cachePageId)
The id of the cache page that is being faulted into.
|
void |
setParked(boolean parked)
Set to 'true' if the page faulting thread ended up parking, while it waited for the eviction thread
to free up a page that could be faulted into.
|
static final PageFaultEvent NULL
void addBytesRead(int bytes)
void setCachePageId(int cachePageId)
void setParked(boolean parked)
void done()
void done(Throwable throwable)
Copyright © 2002–2015 The Neo4j Graph Database Project. All rights reserved.