public class Compactor extends Object
Constructor and Description |
---|
Compactor(SegmentReader reader,
SegmentWriter writer,
org.apache.jackrabbit.oak.spi.blob.BlobStore blobStore,
com.google.common.base.Supplier<Boolean> cancel,
SegmentGCOptions gc) |
Modifier and Type | Method and Description |
---|---|
SegmentNodeState |
compact(org.apache.jackrabbit.oak.spi.state.NodeState before,
org.apache.jackrabbit.oak.spi.state.NodeState after,
org.apache.jackrabbit.oak.spi.state.NodeState onto)
Compact the differences between a
before and a after on
top of an onto state. |
void |
setContentEqualityCheck(boolean contentEqualityCheck) |
public Compactor(SegmentReader reader, SegmentWriter writer, org.apache.jackrabbit.oak.spi.blob.BlobStore blobStore, com.google.common.base.Supplier<Boolean> cancel, SegmentGCOptions gc)
public SegmentNodeState compact(org.apache.jackrabbit.oak.spi.state.NodeState before, org.apache.jackrabbit.oak.spi.state.NodeState after, org.apache.jackrabbit.oak.spi.state.NodeState onto) throws IOException
before
and a after
on
top of an onto
state.before
- the before stateafter
- the after stateonto
- the onto stateIOException
public void setContentEqualityCheck(boolean contentEqualityCheck)
Copyright © 2012-2016 The Apache Software Foundation. All Rights Reserved.