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 ofDocumentStoreandBlobStorefor 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 DocumentStoreSplitDocumentCleanUp. storeFields in org.apache.jackrabbit.oak.plugins.document with type parameters of type DocumentStore Modifier and Type Field Description protected Supplier<DocumentStore>DocumentNodeStoreBuilder. documentStoreSupplierMethods in org.apache.jackrabbit.oak.plugins.document that return DocumentStore Modifier and Type Method Description @NotNull DocumentStoreDocumentNodeStore. getDocumentStore()DocumentStoreDocumentNodeStoreBuilder. getDocumentStore()@NotNull DocumentStoreVersionGCSupport. 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 longSweep2StatusDocument. acquireOrUpdateSweep2Lock(DocumentStore documentStore, int clusterId, boolean forceSweepingStatus)Acquires the sweep2 lock.static java.util.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)NodeDocumentCacheDocumentNodeStoreBuilder. buildNodeDocumentCache(DocumentStore docStore, NodeDocumentLocks locks)Cache<StringValue,NodeDocument>DocumentNodeStoreBuilder. buildPrevDocumentsCache(DocumentStore docStore)static booleanSweep2StatusDocument. forceReleaseSweep2LockAndMarkSwept(DocumentStore documentStore, int clusterId)Release the sweep2 lock and record swept2 successful.static NodeDocumentNodeDocument. fromString(DocumentStore store, java.lang.String s)static ClusterNodeInfoClusterNodeInfo. getInstance(DocumentStore store, org.apache.jackrabbit.oak.plugins.document.RecoveryHandler recoveryHandler, java.lang.String machineId, java.lang.String instanceId, int configuredClusterId)Get or create a cluster node info instance for the store.static ClusterNodeInfoClusterNodeInfo. getInstance(DocumentStore store, org.apache.jackrabbit.oak.plugins.document.RecoveryHandler recoveryHandler, java.lang.String machineId, java.lang.String instanceId, int configuredClusterId, boolean invisible)Get or create a cluster node info instance for the store.static ClusterNodeInfoClusterNodeInfo. getReadOnlyInstance(DocumentStore store)Create a cluster node info instance to be utilized for read only access to underlying store.abstract TCollection. newDocument(DocumentStore store)static Sweep2StatusDocumentSweep2StatusDocument. readFrom(DocumentStore documentStore)TDocumentNodeStoreBuilder. setDocumentStore(DocumentStore documentStore)Set the document store to use.static @NotNull FormatVersionFormatVersion. versionOf(@NotNull DocumentStore store)Reads theFormatVersionfrom the given store.booleanFormatVersion. 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, java.util.function.Consumer<java.lang.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, java.lang.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 classMemoryDocumentStoreEmulates 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 classMongoDocumentStoreA 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> VCacheType. readValue(DocumentNodeStore store, DocumentStore docStore, java.nio.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 classRDBDocumentStoreImplementation ofDocumentStorefor 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 classLeaseCheckDocumentStoreWrapperWrapper of another DocumentStore that does a lease check on any method invocation (read or update) and fails if the lease is not valid.classLoggingDocumentStoreWrapperImplements aDocumentStorewrapper and logs all calls.classSynchronizingDocumentStoreWrapperImplements aDocumentStorewrapper which synchronizes on all methods.classTimingDocumentStoreWrapperA 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 DocumentStoreReadOnlyDocumentStoreWrapperFactory. getInstance(@NotNull DocumentStore delegate)Methods in org.apache.jackrabbit.oak.plugins.document.util with parameters of type DocumentStore Modifier and Type Method Description static voidUtils. 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 java.lang.Iterable<NodeDocument>Utils. getAllDocuments(DocumentStore store)Returns anIterableover allNodeDocuments in the given store.static DocumentStoreReadOnlyDocumentStoreWrapperFactory. getInstance(@NotNull DocumentStore delegate)static @NotNull NodeDocumentUtils. getRootDocument(@NotNull DocumentStore store)Returns the root node document of the given document store.static java.lang.Iterable<NodeDocument>Utils. getSelectedDocuments(DocumentStore store, java.lang.String indexedProperty, long startValue)LikeUtils.getSelectedDocuments(DocumentStore, String, long, int)with a defaultbatchSize.static java.lang.Iterable<NodeDocument>Utils. getSelectedDocuments(DocumentStore store, java.lang.String indexedProperty, long startValue, int batchSize)Returns anIterableover allNodeDocuments 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, java.lang.String prefix)SynchronizingDocumentStoreWrapper(DocumentStore store)TimingDocumentStoreWrapper(DocumentStore base)
-