Uses of Interface
org.apache.jackrabbit.oak.plugins.document.DocumentStore
-
Packages that use DocumentStore Package Description org.apache.jackrabbit.oak.plugins.document org.apache.jackrabbit.oak.plugins.document.memory org.apache.jackrabbit.oak.plugins.document.mongo org.apache.jackrabbit.oak.plugins.document.persistentCache org.apache.jackrabbit.oak.plugins.document.rdb Implementations ofDocumentStore
andBlobStore
for relational databases.org.apache.jackrabbit.oak.plugins.document.util -
-
Uses of DocumentStore in org.apache.jackrabbit.oak.plugins.document
Fields in org.apache.jackrabbit.oak.plugins.document declared as DocumentStore Modifier and Type Field Description protected DocumentStore
SplitDocumentCleanUp. store
Fields in org.apache.jackrabbit.oak.plugins.document with type parameters of type DocumentStore Modifier and Type Field Description protected Supplier<DocumentStore>
DocumentNodeStoreBuilder. documentStoreSupplier
Methods in org.apache.jackrabbit.oak.plugins.document that return DocumentStore Modifier and Type Method Description @NotNull DocumentStore
DocumentNodeStore. getDocumentStore()
DocumentStore
DocumentNodeStoreBuilder. getDocumentStore()
@NotNull DocumentStore
VersionGCSupport. getDocumentStore()
Returns the underlying document store.Methods in org.apache.jackrabbit.oak.plugins.document with parameters of type DocumentStore Modifier and Type Method Description static long
Sweep2StatusDocument. acquireOrUpdateSweep2Lock(DocumentStore documentStore, int clusterId, boolean forceSweepingStatus)
Acquires the sweep2 lock.static List<ClusterNodeInfoDocument>
ClusterNodeInfoDocument. all(DocumentStore store)
Returns all cluster node info documents currently available in the given document store.Cache<org.apache.jackrabbit.oak.cache.CacheValue,NodeDocument>
DocumentNodeStoreBuilder. buildDocumentCache(DocumentStore docStore)
NodeDocumentCache
DocumentNodeStoreBuilder. buildNodeDocumentCache(DocumentStore docStore, NodeDocumentLocks locks)
Cache<StringValue,NodeDocument>
DocumentNodeStoreBuilder. buildPrevDocumentsCache(DocumentStore docStore)
static boolean
Sweep2StatusDocument. forceReleaseSweep2LockAndMarkSwept(DocumentStore documentStore, int clusterId)
Release the sweep2 lock and record swept2 successful.static NodeDocument
NodeDocument. fromString(DocumentStore store, String s)
static ClusterNodeInfo
ClusterNodeInfo. getInstance(DocumentStore store, org.apache.jackrabbit.oak.plugins.document.RecoveryHandler recoveryHandler, String machineId, String instanceId, int configuredClusterId)
Get or create a cluster node info instance for the store.static ClusterNodeInfo
ClusterNodeInfo. getInstance(DocumentStore store, org.apache.jackrabbit.oak.plugins.document.RecoveryHandler recoveryHandler, String machineId, String instanceId, int configuredClusterId, boolean invisible)
Get or create a cluster node info instance for the store.static ClusterNodeInfo
ClusterNodeInfo. getReadOnlyInstance(DocumentStore store)
Create a cluster node info instance to be utilized for read only access to underlying store.abstract T
Collection. newDocument(DocumentStore store)
static Sweep2StatusDocument
Sweep2StatusDocument. readFrom(DocumentStore documentStore)
T
DocumentNodeStoreBuilder. setDocumentStore(DocumentStore documentStore)
Set the document store to use.static @NotNull FormatVersion
FormatVersion. versionOf(@NotNull DocumentStore store)
Reads theFormatVersion
from the given store.boolean
FormatVersion. writeTo(@NotNull DocumentStore store)
Writes this version to the given document store.Constructors in org.apache.jackrabbit.oak.plugins.document with parameters of type DocumentStore Constructor Description LastRevRecoveryAgent(DocumentStore store, RevisionContext context)
LastRevRecoveryAgent(DocumentStore store, RevisionContext revisionContext, MissingLastRevSeeker seeker, Consumer<Integer> afterRecovery)
MissingLastRevSeeker(DocumentStore store, org.apache.jackrabbit.oak.stats.Clock clock)
NodeDocument(@NotNull DocumentStore store, long creationTime)
Required for serializationSplitDocumentCleanUp(DocumentStore store, VersionGarbageCollector.VersionGCStats stats, Iterable<NodeDocument> splitDocGarbage)
VersionGCSupport(DocumentStore store)
-
Uses of DocumentStore in org.apache.jackrabbit.oak.plugins.document.memory
Classes in org.apache.jackrabbit.oak.plugins.document.memory that implement DocumentStore Modifier and Type Class Description class
MemoryDocumentStore
Emulates a MongoDB store (possibly consisting of multiple shards and replicas). -
Uses of DocumentStore in org.apache.jackrabbit.oak.plugins.document.mongo
Classes in org.apache.jackrabbit.oak.plugins.document.mongo that implement DocumentStore Modifier and Type Class Description class
MongoDocumentStore
A document store that uses MongoDB as the backend. -
Uses of DocumentStore in org.apache.jackrabbit.oak.plugins.document.persistentCache
Methods in org.apache.jackrabbit.oak.plugins.document.persistentCache with parameters of type DocumentStore Modifier and Type Method Description abstract <V> V
CacheType. readValue(DocumentNodeStore store, DocumentStore docStore, ByteBuffer buffer)
<K extends org.apache.jackrabbit.oak.cache.CacheValue,V extends org.apache.jackrabbit.oak.cache.CacheValue>
Cache<K,V>PersistentCache. wrap(DocumentNodeStore docNodeStore, DocumentStore docStore, Cache<K,V> base, CacheType type)
<K extends org.apache.jackrabbit.oak.cache.CacheValue,V extends org.apache.jackrabbit.oak.cache.CacheValue>
Cache<K,V>PersistentCache. wrap(DocumentNodeStore docNodeStore, DocumentStore docStore, Cache<K,V> base, CacheType type, org.apache.jackrabbit.oak.stats.StatisticsProvider statisticsProvider)
-
Uses of DocumentStore in org.apache.jackrabbit.oak.plugins.document.rdb
Classes in org.apache.jackrabbit.oak.plugins.document.rdb that implement DocumentStore Modifier and Type Class Description class
RDBDocumentStore
Implementation ofDocumentStore
for relational databases.Constructors in org.apache.jackrabbit.oak.plugins.document.rdb with parameters of type DocumentStore Constructor Description RDBDocumentSerializer(DocumentStore store)
-
Uses of DocumentStore in org.apache.jackrabbit.oak.plugins.document.util
Classes in org.apache.jackrabbit.oak.plugins.document.util that implement DocumentStore Modifier and Type Class Description class
LeaseCheckDocumentStoreWrapper
Wrapper of another DocumentStore that does a lease check on any method invocation (read or update) and fails if the lease is not valid.class
LoggingDocumentStoreWrapper
Implements aDocumentStore
wrapper and logs all calls.class
SynchronizingDocumentStoreWrapper
Implements aDocumentStore
wrapper which synchronizes on all methods.class
TimingDocumentStoreWrapper
A DocumentStore wrapper that can be used to log and also time DocumentStore calls.Methods in org.apache.jackrabbit.oak.plugins.document.util that return DocumentStore Modifier and Type Method Description static DocumentStore
ReadOnlyDocumentStoreWrapperFactory. getInstance(@NotNull DocumentStore delegate)
Methods in org.apache.jackrabbit.oak.plugins.document.util with parameters of type DocumentStore Modifier and Type Method Description static void
Utils. checkRevisionAge(DocumentStore store, ClusterNodeInfo info, org.apache.jackrabbit.oak.stats.Clock clock)
Check the revision age on the root document for the given cluster node info.static Iterable<NodeDocument>
Utils. getAllDocuments(DocumentStore store)
Returns anIterable
over allNodeDocument
s in the given store.static DocumentStore
ReadOnlyDocumentStoreWrapperFactory. getInstance(@NotNull DocumentStore delegate)
static @NotNull NodeDocument
Utils. getRootDocument(@NotNull DocumentStore store)
Returns the root node document of the given document store.static Iterable<NodeDocument>
Utils. getSelectedDocuments(DocumentStore store, String indexedProperty, long startValue)
LikeUtils.getSelectedDocuments(DocumentStore, String, long, int)
with a defaultbatchSize
.static Iterable<NodeDocument>
Utils. getSelectedDocuments(DocumentStore store, String indexedProperty, long startValue, int batchSize)
Returns anIterable
over allNodeDocument
s in the given store matching a condition on an indexed property.Constructors in org.apache.jackrabbit.oak.plugins.document.util with parameters of type DocumentStore Constructor Description LeaseCheckDocumentStoreWrapper(DocumentStore delegate, ClusterNodeInfo clusterNodeInfo)
LoggingDocumentStoreWrapper(DocumentStore store)
LoggingDocumentStoreWrapper(DocumentStore store, String prefix)
SynchronizingDocumentStoreWrapper(DocumentStore store)
TimingDocumentStoreWrapper(DocumentStore base)
-