public class SegmentNodeStore extends Object implements org.apache.jackrabbit.oak.spi.state.NodeStore, org.apache.jackrabbit.oak.spi.commit.Observable
The root node of the JCR content tree is actually stored in the node "/root", and checkpoints are stored under "/checkpoints".
| Modifier and Type | Field and Description |
|---|---|
static String |
CHECKPOINTS |
| Constructor and Description |
|---|
SegmentNodeStore() |
SegmentNodeStore(SegmentStore store)
Deprecated.
Use
newSegmentNodeStore(SegmentStore) instead |
public static final String CHECKPOINTS
@Deprecated public SegmentNodeStore(SegmentStore store)
newSegmentNodeStore(SegmentStore) insteadpublic SegmentNodeStore()
throws IOException
IOException@Nonnull public static SegmentNodeStoreBuilder newSegmentNodeStore(@Nonnull SegmentStore store)
public Closeable addObserver(org.apache.jackrabbit.oak.spi.commit.Observer observer)
addObserver in interface org.apache.jackrabbit.oak.spi.commit.Observable@Nonnull public org.apache.jackrabbit.oak.spi.state.NodeState getRoot()
getRoot in interface org.apache.jackrabbit.oak.spi.state.NodeStore@Nonnull public org.apache.jackrabbit.oak.spi.state.NodeState getSuperRoot()
public org.apache.jackrabbit.oak.spi.state.NodeState merge(@Nonnull org.apache.jackrabbit.oak.spi.state.NodeBuilder builder, @Nonnull org.apache.jackrabbit.oak.spi.commit.CommitHook commitHook, @Nonnull org.apache.jackrabbit.oak.spi.commit.CommitInfo info) throws org.apache.jackrabbit.oak.api.CommitFailedException
merge in interface org.apache.jackrabbit.oak.spi.state.NodeStoreorg.apache.jackrabbit.oak.api.CommitFailedException@Nonnull public org.apache.jackrabbit.oak.spi.state.NodeState rebase(@Nonnull org.apache.jackrabbit.oak.spi.state.NodeBuilder builder)
rebase in interface org.apache.jackrabbit.oak.spi.state.NodeStore@Nonnull public org.apache.jackrabbit.oak.spi.state.NodeState reset(@Nonnull org.apache.jackrabbit.oak.spi.state.NodeBuilder builder)
reset in interface org.apache.jackrabbit.oak.spi.state.NodeStorepublic org.apache.jackrabbit.oak.api.Blob createBlob(InputStream stream) throws IOException
createBlob in interface org.apache.jackrabbit.oak.spi.state.NodeStoreIOExceptionpublic org.apache.jackrabbit.oak.api.Blob getBlob(@Nonnull String reference)
getBlob in interface org.apache.jackrabbit.oak.spi.state.NodeStore@Nonnull public String checkpoint(long lifetime, @Nonnull Map<String,String> properties)
checkpoint in interface org.apache.jackrabbit.oak.spi.state.NodeStore@Nonnull public String checkpoint(long lifetime)
checkpoint in interface org.apache.jackrabbit.oak.spi.state.NodeStore@Nonnull public Map<String,String> checkpointInfo(@Nonnull String checkpoint)
checkpointInfo in interface org.apache.jackrabbit.oak.spi.state.NodeStore@Nonnull public Iterable<String> checkpoints()
checkpoints in interface org.apache.jackrabbit.oak.spi.state.NodeStore@CheckForNull public org.apache.jackrabbit.oak.spi.state.NodeState retrieve(@Nonnull String checkpoint)
retrieve in interface org.apache.jackrabbit.oak.spi.state.NodeStorepublic boolean release(@Nonnull String checkpoint)
release in interface org.apache.jackrabbit.oak.spi.state.NodeStoreCopyright © 2012-2018 The Apache Software Foundation. All Rights Reserved.