public class DocumentNodeStoreStats extends Object implements DocumentNodeStoreStatsCollector
| Constructor and Description |
|---|
DocumentNodeStoreStats(org.apache.jackrabbit.oak.stats.StatisticsProvider sp) |
| Modifier and Type | Method and Description |
|---|---|
void |
doneBackgroundRead(org.apache.jackrabbit.oak.plugins.document.BackgroundReadStats stats)
Report to the collector that a background read was done.
|
void |
doneBackgroundUpdate(org.apache.jackrabbit.oak.plugins.document.BackgroundWriteStats stats)
Report to the collector that a background update was done.
|
void |
doneBranchCommit()
Report to the collector that a branch commit was done.
|
void |
doneLeaseUpdate(long timeMicros)
Report to the collector that a lease update was done.
|
void |
doneMerge(int numRetries,
long time,
boolean suspended,
boolean exclusive)
Reports to the collector that a merge was done.
|
void |
doneMergeBranch(int numCommits)
Report to the collector that a branch was merged.
|
void |
failedMerge(int numRetries,
long timeMillis,
boolean suspended,
boolean exclusive)
Reports to the collector that a merge failed.
|
public DocumentNodeStoreStats(org.apache.jackrabbit.oak.stats.StatisticsProvider sp)
public void doneBackgroundRead(org.apache.jackrabbit.oak.plugins.document.BackgroundReadStats stats)
DocumentNodeStoreStatsCollectordoneBackgroundRead in interface DocumentNodeStoreStatsCollectorstats - the stats for the background read operation.public void doneBackgroundUpdate(org.apache.jackrabbit.oak.plugins.document.BackgroundWriteStats stats)
DocumentNodeStoreStatsCollectordoneBackgroundUpdate in interface DocumentNodeStoreStatsCollectorstats - the stats for the background update operation.public void doneLeaseUpdate(long timeMicros)
DocumentNodeStoreStatsCollectordoneLeaseUpdate in interface DocumentNodeStoreStatsCollectortimeMicros - the time in microseconds it took to update the lease.public void doneBranchCommit()
DocumentNodeStoreStatsCollectordoneBranchCommit in interface DocumentNodeStoreStatsCollectorpublic void doneMergeBranch(int numCommits)
DocumentNodeStoreStatsCollectordoneMergeBranch in interface DocumentNodeStoreStatsCollectornumCommits - the number of branch commits merged.public void doneMerge(int numRetries,
long time,
boolean suspended,
boolean exclusive)
DocumentNodeStoreStatsCollectordoneMerge in interface DocumentNodeStoreStatsCollectornumRetries - the number of retries that were necessary.time - the time in milliseconds it took to merge the changes.suspended - whether the merge had to be suspended.exclusive - whether the merge was holding an exclusive lock.public void failedMerge(int numRetries,
long timeMillis,
boolean suspended,
boolean exclusive)
DocumentNodeStoreStatsCollectorfailedMerge in interface DocumentNodeStoreStatsCollectornumRetries - the number of retries that were done.timeMillis - the time in milliseconds it took to attempt the merge.suspended - whether the merge had to be suspended.exclusive - whether the merge was holding an exclusive lock.Copyright © 2012–2018 The Apache Software Foundation. All rights reserved.