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 exclusiveLock,
long filePageId,
PageSwapper swapper)
A page is to be pinned.
|
long |
countBytesRead() |
long |
countBytesWritten() |
long |
countEvictionExceptions() |
long |
countEvictions() |
long |
countFaults() |
long |
countFilesMapped() |
long |
countFilesUnmapped() |
long |
countFlushes() |
long |
countPins() |
long |
countUnpins() |
static void |
enablePinUnpinTracing()
Enable monitoring of page pins and unpins, which is disabled by default for
performance reasons.
|
void |
mappedFile(File file)
The given file has been mapped, where no existing mapping for that file existed.
|
void |
unmappedFile(File file)
The last reference to the given file has been unmapped.
|
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 exclusiveLock, long filePageId, PageSwapper swapper)
PageCacheTracerbeginPin in interface PageCacheTracerpublic MajorFlushEvent beginFileFlush(PageSwapper swapper)
PageCacheTracerbeginFileFlush in interface PageCacheTracerpublic MajorFlushEvent beginCacheFlush()
PageCacheTracerbeginCacheFlush in interface PageCacheTracerpublic long countFaults()
countFaults in interface PageCacheMonitorpublic long countEvictions()
countEvictions in interface PageCacheMonitorpublic long countPins()
countPins in interface PageCacheMonitorpublic long countUnpins()
countUnpins in interface PageCacheMonitorpublic long countFlushes()
countFlushes in interface PageCacheMonitorpublic long countBytesRead()
countBytesRead in interface PageCacheMonitorpublic long countBytesWritten()
countBytesWritten in interface PageCacheMonitorpublic long countFilesMapped()
countFilesMapped in interface PageCacheMonitorpublic long countFilesUnmapped()
countFilesUnmapped in interface PageCacheMonitorpublic long countEvictionExceptions()
countEvictionExceptions in interface PageCacheMonitorCopyright © 2002–2015 The Neo4j Graph Database Project. All rights reserved.