public interface DocumentNodeStoreStatsCollector
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 |
doneChangesApplied(long timeMicros)
Reports to the collector that the commit applied the changes to the
DocumentStore in the given time. |
void |
doneCommitHookProcessed(long timeMicros)
Reports to the collector that the commit hook processed a commit in the
given time.
|
void |
doneLeaseUpdate(long timeMicros)
Report to the collector that a lease update was done.
|
void |
doneMerge(int numChanges,
int numRetries,
long timeMillis,
long suspendMillis,
boolean exclusive)
Reports to the collector that a merge was done.
|
void |
doneMergeBranch(int numCommits,
int numChanges)
Report to the collector that a branch was merged.
|
void |
doneMergeLockAcquired(long timeMicros)
Reports to the collector that the commit acquired the merge lock in the
given time.
|
void |
doneWaitUntilHead(long waitMicros)
Reports to the collector that a commit finished waiting to become the
head of the commit queue.
|
void |
failedMerge(int numRetries,
long timeMillis,
long suspendMillis,
boolean exclusive)
Reports to the collector that a merge failed.
|
void doneBackgroundRead(org.apache.jackrabbit.oak.plugins.document.BackgroundReadStats stats)
stats
- the stats for the background read operation.void doneBackgroundUpdate(org.apache.jackrabbit.oak.plugins.document.BackgroundWriteStats stats)
stats
- the stats for the background update operation.void doneLeaseUpdate(long timeMicros)
timeMicros
- the time in microseconds it took to update the lease.void doneBranchCommit()
void doneMergeBranch(int numCommits, int numChanges)
numCommits
- the number of branch commits merged.numChanges
- the number of changes merged.void doneMerge(int numChanges, int numRetries, long timeMillis, long suspendMillis, boolean exclusive)
numChanges
- the number of changes in this merge.numRetries
- the number of retries that were necessary.timeMillis
- the time in milliseconds it took to merge the changes.suspendMillis
- the time in milliseconds the merge was suspended.exclusive
- whether the merge was holding an exclusive lock.void failedMerge(int numRetries, long timeMillis, long suspendMillis, boolean exclusive)
numRetries
- the number of retries that were done.timeMillis
- the time in milliseconds it took to attempt the merge.suspendMillis
- the time in milliseconds the merge was suspended.exclusive
- whether the merge was holding an exclusive lock.void doneWaitUntilHead(long waitMicros)
waitMicros
- the time it waited in microseconds to be come
the head of the queue.void doneMergeLockAcquired(long timeMicros)
timeMicros
- the time in microseconds.void doneCommitHookProcessed(long timeMicros)
timeMicros
- the time in microseconds.void doneChangesApplied(long timeMicros)
DocumentStore
in the given time.timeMicros
- the time in microseconds.Copyright © 2012–2022 The Apache Software Foundation. All rights reserved.