Package org.apache.jackrabbit.oak.plugins.document.util
package org.apache.jackrabbit.oak.plugins.document.util
-
ClassDescription
FunctionalInterface
to consume Metric Stats for update/remove operationANodeStateDiff
implementation that counts the differences between two node states, including their sub tree.Base class to update the metrics forDocumentStoreStatsCollector.doneCreate(long, Collection, List, boolean)
for underlyingDocumentStore
Wrapper of another DocumentStore that does a lease check on any method invocation (read or update) and fails if the lease is not valid.Implements aDocumentStore
wrapper and logs all calls.A MapFactory backed by MapDB, which stores the map in a temporary file.Experimental extension point for OAK-1772 to try out alternative approaches for persisting in memory state Not part of APIMergeSortedIterators
is a specialized implementation of a merge sort of already sorted iterators of some type of comparable elements.Base class to update the metrics forDocumentStoreStatsCollector.doneFindAndModify(long, Collection, String, boolean, boolean, int)
for underlyingDocumentStore
TheMongoConnection
abstracts connection to theMongoDB
.Base class to update the metrics forDocumentStoreStatsCollector.doneRemove(long, Collection, int)
for underlyingDocumentStore
Implementation of aNodeStateDiff
that reports the inverse operation to the wrappedNodeStateDiff
.A cache key implementation which consists of twoRevision
s.Statistics Util class.A cache value wrapping a simple string.Implements aDocumentStore
wrapper which synchronizes on all methods.Wrapper of another DocumentStore that does a throttling check on any method invocation (create, update or delete) and throttled the system if under high load.A class representing a time interval, with utility methods to derive related intervals, check time stamps for containment, etc.A DocumentStore wrapper that can be used to log and also time DocumentStore calls.FunctionalInterface
to consume Metric Stats for create/upsert operationBase class to update the metrics forDocumentStoreStatsCollector.doneCreateOrUpdate(long, Collection, List)
for underlyingDocumentStore
Utility class related to encoding characters into (UTF-8) byte sequences.Utility methods.