public static class GBPTree.Monitor.Adaptor extends Object implements GBPTree.Monitor
GBPTree.Monitor.GBPTree.Monitor.Adaptor| Constructor and Description |
|---|
Adaptor() |
| Modifier and Type | Method and Description |
|---|---|
void |
checkpointCompleted()
Called when a
GBPTree.checkpoint(IOLimiter) has been completed, but right before
writers are re-enabled. |
void |
cleanupFinished(long numberOfPagesVisited,
long numberOfCleanedCrashPointers,
long durationMillis)
Called after recovery has completed and cleaning has been done.
|
void |
noStoreFile()
Called when the tree was started on no existing store file and so will be created.
|
void |
startupState(boolean clean)
Report tree state on startup.
|
public void checkpointCompleted()
GBPTree.MonitorGBPTree.checkpoint(IOLimiter) has been completed, but right before
writers are re-enabled.checkpointCompleted in interface GBPTree.Monitorpublic void noStoreFile()
GBPTree.MonitornoStoreFile in interface GBPTree.Monitorpublic void cleanupFinished(long numberOfPagesVisited,
long numberOfCleanedCrashPointers,
long durationMillis)
GBPTree.MonitorcleanupFinished in interface GBPTree.MonitornumberOfPagesVisited - number of pages visited by the cleaner.numberOfCleanedCrashPointers - number of cleaned crashed pointers.durationMillis - time spent cleaning.public void startupState(boolean clean)
GBPTree.MonitorstartupState in interface GBPTree.Monitorclean - true if tree was clean on startup.Copyright © 2002–2017 The Neo4j Graph Database Project. All rights reserved.