public class Jcr extends Object
The backing ContentRepository instance will be constructed with reasonable defaults and additional components can be registered by calling the with methods. Note that it is not possible to remove components once registered.
The Jcr builder is a lazy initializer, to have a working repository make sure
you call createContentRepository() or
createRepository().
| Modifier and Type | Field and Description |
|---|---|
static int |
DEFAULT_OBSERVATION_QUEUE_LENGTH |
| Constructor and Description |
|---|
Jcr() |
Jcr(NodeStore store) |
Jcr(Oak oak) |
Jcr(Oak oak,
boolean initialize) |
public static final int DEFAULT_OBSERVATION_QUEUE_LENGTH
public Jcr(Oak oak, boolean initialize)
public Jcr(Oak oak)
public Jcr()
public Jcr(NodeStore store)
public Jcr with(Clusterable c)
public final Jcr with(RepositoryInitializer initializer)
public Jcr withAtomicCounter()
public final Jcr with(QueryIndexProvider provider)
public final Jcr with(IndexEditorProvider indexEditorProvider)
public final Jcr with(CommitHook hook)
public final Jcr with(EditorProvider provider)
public final Jcr with(SecurityProvider securityProvider)
public final Jcr with(PartialConflictHandler conflictHandler)
public final Jcr with(ScheduledExecutorService executor)
@Deprecated public Jcr withAsyncIndexing()
withAsyncIndexing(String, long) insteadpublic Jcr withObservationQueueLength(int observationQueueLength)
public Jcr with(CommitRateLimiter commitRateLimiter)
public Jcr with(QueryEngineSettings qs)
public Jcr withFastQueryResultSize(boolean fastQueryResultSize)
public Jcr with(Whiteboard whiteboard)
public ContentRepository createContentRepository()
public Repository createRepository()
"Copyright © 2010 - 2017 Adobe Systems Incorporated. All Rights Reserved"