public class DefaultPageCacheTracer extends Object implements PageCacheTracer
NULL| Constructor and Description |
|---|
DefaultPageCacheTracer() |
| 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.
|
long |
bytesRead() |
void |
bytesRead(long bytesRead)
Report number of bytes read
|
long |
bytesWritten() |
void |
bytesWritten(long bytesWritten)
Report number of bytes written
|
long |
evictionExceptions() |
void |
evictionExceptions(long evictionExceptions)
Report number of eviction exceptions
|
long |
evictions() |
void |
evictions(long evictions)
Report number of observed evictions
|
long |
faults() |
void |
faults(long faults)
Report number of observed faults
|
long |
filesMapped() |
long |
filesUnmapped() |
long |
flushes() |
void |
flushes(long flushes)
Report number of flushes
|
double |
hitRatio() |
long |
hits() |
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.
|
long |
pins() |
void |
pins(long pins)
Report number of observed pins
|
void |
unmappedFile(File file)
The last reference to the given file has been unmapped.
|
long |
unpins() |
void |
unpins(long unpins)
Report number of observed unpins
|
public void mappedFile(File file)
PageCacheTracermappedFile in interface PageCacheTracerpublic void unmappedFile(File file)
PageCacheTracerunmappedFile in interface PageCacheTracerpublic EvictionRunEvent beginPageEvictions(int pageCountToEvict)
PageCacheTracerbeginPageEvictions in interface PageCacheTracerpublic MajorFlushEvent beginFileFlush(PageSwapper swapper)
PageCacheTracerbeginFileFlush in interface PageCacheTracerpublic MajorFlushEvent beginCacheFlush()
PageCacheTracerbeginCacheFlush in interface PageCacheTracerpublic long faults()
faults in interface PageCacheCounterspublic long evictions()
evictions in interface PageCacheCounterspublic long pins()
pins in interface PageCacheCounterspublic long unpins()
unpins in interface PageCacheCounterspublic long hits()
hits in interface PageCacheCounterspublic long flushes()
flushes in interface PageCacheCounterspublic long bytesRead()
bytesRead in interface PageCacheCounterspublic long bytesWritten()
bytesWritten in interface PageCacheCounterspublic long filesMapped()
filesMapped in interface PageCacheCounterspublic long filesUnmapped()
filesUnmapped in interface PageCacheCounterspublic long evictionExceptions()
evictionExceptions in interface PageCacheCounterspublic double hitRatio()
hitRatio in interface PageCacheCounterspublic void pins(long pins)
PageCacheTracerpins in interface PageCacheTracerpins - number of pinspublic void unpins(long unpins)
PageCacheTracerunpins in interface PageCacheTracerunpins - number of unpinspublic void hits(long hits)
PageCacheTracerhits in interface PageCacheTracerhits - number of hitspublic void faults(long faults)
PageCacheTracerfaults in interface PageCacheTracerfaults - number of faultspublic void bytesRead(long bytesRead)
PageCacheTracerbytesRead in interface PageCacheTracerbytesRead - number of read bytespublic void evictions(long evictions)
PageCacheTracerevictions in interface PageCacheTracerevictions - number of evictionspublic void evictionExceptions(long evictionExceptions)
PageCacheTracerevictionExceptions in interface PageCacheTracerevictionExceptions - number of eviction exceptionspublic void bytesWritten(long bytesWritten)
PageCacheTracerbytesWritten in interface PageCacheTracerbytesWritten - number of written bytespublic void flushes(long flushes)
PageCacheTracerflushes in interface PageCacheTracerflushes - number of flushesCopyright © 2002–2018 The Neo4j Graph Database Project. All rights reserved.