public interface PageCacheTracer extends PageCacheCounters
| Modifier and Type | Field and Description |
|---|---|
static PageCacheTracer |
NULL
A PageCacheTracer that does nothing other than return the NULL variants of the companion interfaces.
|
| Modifier and Type | Method and Description |
|---|---|
MajorFlushEvent |
beginCacheFlush()
The PageCache wants to flush all its bound pages.
|
MajorFlushEvent |
beginFileFlush(PageSwapper swapper)
A PagedFile wants to flush all its bound pages.
|
EvictionRunEvent |
beginPageEvictions(int pageCountToEvict)
A background eviction has begun.
|
void |
bytesRead(long bytesRead)
Report number of bytes read
|
void |
bytesWritten(long bytesWritten)
Report number of bytes written
|
void |
evictionExceptions(long evictionExceptions)
Report number of eviction exceptions
|
void |
evictions(long evictions)
Report number of observed evictions
|
void |
faults(long faults)
Report number of observed faults
|
void |
flushes(long flushes)
Report number of flushes
|
void |
hits(long hits)
Report number of observer hits
|
void |
mappedFile(File file)
The given file has been mapped, where no existing mapping for that file existed.
|
void |
pins(long pins)
Report number of observed pins
|
void |
unmappedFile(File file)
The last reference to the given file has been unmapped.
|
void |
unpins(long unpins)
Report number of observed unpins
|
bytesRead, bytesWritten, evictionExceptions, evictions, faults, filesMapped, filesUnmapped, flushes, hitRatio, hits, pins, unpinsstatic final PageCacheTracer NULL
void mappedFile(File file)
void unmappedFile(File file)
EvictionRunEvent beginPageEvictions(int pageCountToEvict)
MajorFlushEvent beginFileFlush(PageSwapper swapper)
MajorFlushEvent beginCacheFlush()
void pins(long pins)
pins - number of pinsvoid unpins(long unpins)
unpins - number of unpinsvoid hits(long hits)
hits - number of hitsvoid faults(long faults)
faults - number of faultsvoid bytesRead(long bytesRead)
bytesRead - number of read bytesvoid evictions(long evictions)
evictions - number of evictionsvoid evictionExceptions(long evictionExceptions)
evictionExceptions - number of eviction exceptionsvoid bytesWritten(long bytesWritten)
bytesWritten - number of written bytesvoid flushes(long flushes)
flushes - number of flushesCopyright © 2002–2018 The Neo4j Graph Database Project. All rights reserved.