use of org.apache.jackrabbit.oak.segment.scheduler.Commit in project jackrabbit-oak by apache.
the class SegmentNodeStore method merge.
@Nonnull
@Override
public NodeState merge(@Nonnull NodeBuilder builder, @Nonnull CommitHook commitHook, @Nonnull CommitInfo info) throws CommitFailedException {
checkArgument(builder instanceof SegmentNodeBuilder);
checkArgument(((SegmentNodeBuilder) builder).isRootBuilder());
return scheduler.schedule(new Commit(builder, commitHook, info));
}