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.
|
PinEvent |
beginPin(boolean writeLock,
long filePageId,
PageSwapper swapper)
A page is to be pinned.
|
long |
bytesRead() |
long |
bytesWritten() |
static void |
enablePinUnpinTracing()
Enable monitoring of page pins and unpins, which is disabled by default for
performance reasons.
|
long |
evictionExceptions() |
long |
evictions() |
long |
faults() |
long |
filesMapped() |
long |
filesUnmapped() |
long |
flushes() |
void |
mappedFile(File file)
The given file has been mapped, where no existing mapping for that file existed.
|
long |
pins() |
void |
unmappedFile(File file)
The last reference to the given file has been unmapped.
|
long |
unpins() |
public static void enablePinUnpinTracing()
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 PinEvent beginPin(boolean writeLock, long filePageId, PageSwapper swapper)
PageCacheTracerbeginPin 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 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 PageCacheCountersCopyright © 2002–2017 The Neo4j Graph Database Project. All rights reserved.