Class RDBDocumentNodeStoreBuilder
- java.lang.Object
-
- org.apache.jackrabbit.oak.plugins.document.DocumentNodeStoreBuilder<RDBDocumentNodeStoreBuilder>
-
- org.apache.jackrabbit.oak.plugins.document.rdb.RDBDocumentNodeStoreBuilder
-
public class RDBDocumentNodeStoreBuilder extends DocumentNodeStoreBuilder<RDBDocumentNodeStoreBuilder>
A builder for aDocumentNodeStore
backed by a relational database.
-
-
Field Summary
-
Fields inherited from class org.apache.jackrabbit.oak.plugins.document.DocumentNodeStoreBuilder
blobStoreSupplier, DEFAULT_CACHE_SEGMENT_COUNT, DEFAULT_CACHE_STACK_MOVE_DISTANCE, DEFAULT_CHILDREN_CACHE_PERCENTAGE, DEFAULT_DIFF_CACHE_PERCENTAGE, DEFAULT_MEMORY_CACHE_SIZE, DEFAULT_NODE_CACHE_PERCENTAGE, DEFAULT_PREV_DOC_CACHE_PERCENTAGE, DEFAULT_UPDATE_LIMIT, documentStoreSupplier
-
-
Constructor Summary
Constructors Constructor Description RDBDocumentNodeStoreBuilder()
-
Method Summary
-
Methods inherited from class org.apache.jackrabbit.oak.plugins.document.DocumentNodeStoreBuilder
build, buildChildrenCache, buildDocumentCache, buildLocalDiffCache, buildMemoryDiffCache, buildNodeCache, buildNodeDocumentCache, buildPrevDocumentsCache, clock, disableBranches, getAsyncDelay, getBlobStore, getBlobStoreCacheStats, getBlobStoreStats, getCacheEmptyCommitValue, getChildrenCacheSize, getClock, getClusterId, getCommitValueCacheSize, getDiffCache, getDiffCacheSize, getDocumentCacheSize, getDocumentStore, getDocumentStoreStatsCollector, getExecutor, getGCMonitor, getJournalGCMaxAge, getJournalPropertyHandlerFactory, getLeaseCheck, getLeaseFailureHandler, getLocalDiffCacheSize, getLogging, getMemoryDiffCacheSize, getNodeCachePathPredicate, getNodeCachePredicate, getNodeCacheSize, getNodeStoreStatsCollector, getPersistenceCacheStats, getPersistentCache, getPrevDocumentCacheSize, getReadOnlyMode, getStatisticsProvider, getTiming, getUpdateLimit, getWeigher, isBundlingDisabled, isClusterInvisible, isDisableBranches, isPrefetchExternalChanges, isUseSimpleRevision, memoryCacheDistribution, memoryCacheSize, newDocumentNodeStoreBuilder, setAsyncDelay, setBlobStore, setBundlingDisabled, setCacheEmptyCommitValue, setCacheSegmentCount, setCacheStackMoveDistance, setClusterId, setClusterInvisible, setCommitValueCacheSize, setDocumentStore, setDocumentStoreStatsCollector, setExecutor, setGCMonitor, setJournalCache, setJournalGCMaxAge, setJournalPropertyHandlerFactory, setLeaseCheck, setLeaseCheckMode, setLeaseFailureHandler, setLogging, setLoggingPrefix, setNodeCachePathPredicate, setNodeCachePredicate, setNodeStoreStatsCollector, setPersistentCache, setPrefetchExternalChanges, setReadOnlyMode, setStatisticsProvider, setTiming, setUpdateLimit, setUseSimpleRevision, thisBuilder, withWeigher
-
-
-
-
Method Detail
-
newRDBDocumentNodeStoreBuilder
public static RDBDocumentNodeStoreBuilder newRDBDocumentNodeStoreBuilder()
- Returns:
- a new
RDBDocumentNodeStoreBuilder
.
-
setRDBConnection
public RDBDocumentNodeStoreBuilder setRDBConnection(DataSource ds)
Sets aDataSource
to use for the RDB document and blob stores.- Returns:
- this
-
setRDBConnection
public RDBDocumentNodeStoreBuilder setRDBConnection(DataSource ds, RDBOptions options)
Sets aDataSource
to use for the RDB document and blob stores, includingRDBOptions
.- Returns:
- this
-
setRDBConnection
public RDBDocumentNodeStoreBuilder setRDBConnection(DataSource documentStoreDataSource, DataSource blobStoreDataSource)
Sets aDataSource
s to use for the RDB document and blob stores.- Returns:
- this
-
setRDBConnection
public RDBDocumentNodeStoreBuilder setRDBConnection(DataSource documentStoreDataSource, DataSource blobStoreDataSource, RDBOptions options)
Sets aDataSource
s to use for the RDB document and blob stores, includingRDBOptions
.- Returns:
- this
-
createVersionGCSupport
public VersionGCSupport createVersionGCSupport()
- Overrides:
createVersionGCSupport
in classDocumentNodeStoreBuilder<RDBDocumentNodeStoreBuilder>
-
createReferencedBlobs
public Iterable<org.apache.jackrabbit.oak.plugins.blob.ReferencedBlob> createReferencedBlobs(DocumentNodeStore ns)
- Overrides:
createReferencedBlobs
in classDocumentNodeStoreBuilder<RDBDocumentNodeStoreBuilder>
-
createMissingLastRevSeeker
public MissingLastRevSeeker createMissingLastRevSeeker()
- Overrides:
createMissingLastRevSeeker
in classDocumentNodeStoreBuilder<RDBDocumentNodeStoreBuilder>
-
-