public interface EvictionEvent extends AutoCloseablePageCacheTracerEvent
| Modifier and Type | Field and Description |
|---|---|
static EvictionEvent |
NULL
An EvictionEvent that does nothing other than return the FlushEventOpportunity.NULL.
|
| Modifier and Type | Method and Description |
|---|---|
FlushEventOpportunity |
flushEventOpportunity()
Eviction implies an opportunity to flush.
|
void |
setCachePageId(int cachePageId)
The cache page id of the evicted page.
|
void |
setFilePageId(long filePageId)
The file page id the evicted page was bound to.
|
void |
setSwapper(PageSwapper swapper)
The swapper the evicted page was bound to.
|
void |
threwException(IOException exception)
Indicates that the eviction caused an exception to be thrown.
|
closestatic final EvictionEvent NULL
void setFilePageId(long filePageId)
void setSwapper(PageSwapper swapper)
FlushEventOpportunity flushEventOpportunity()
void threwException(IOException exception)
void setCachePageId(int cachePageId)
Copyright © 2002–2015 The Neo4j Graph Database Project. All rights reserved.