public class Compactor extends Object
| Constructor and Description |
|---|
Compactor(SegmentTracker tracker) |
Compactor(SegmentTracker tracker,
CompactionStrategy compactionStrategy) |
Compactor(SegmentTracker tracker,
CompactionStrategy compactionStrategy,
com.google.common.base.Supplier<Boolean> cancel) |
Compactor(SegmentTracker tracker,
com.google.common.base.Supplier<Boolean> cancel) |
| 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. |
PartialCompactionMap |
getCompactionMap() |
protected SegmentNodeBuilder |
process(org.apache.jackrabbit.oak.spi.state.NodeState before,
org.apache.jackrabbit.oak.spi.state.NodeState after,
org.apache.jackrabbit.oak.spi.state.NodeState onto) |
void |
setContentEqualityCheck(boolean contentEqualityCheck) |
void |
setDeepCheckLargeBinaries(boolean deepCheckLargeBinaries) |
public Compactor(SegmentTracker tracker)
public Compactor(SegmentTracker tracker, com.google.common.base.Supplier<Boolean> cancel)
public Compactor(SegmentTracker tracker, CompactionStrategy compactionStrategy)
public Compactor(SegmentTracker tracker, CompactionStrategy compactionStrategy, com.google.common.base.Supplier<Boolean> cancel)
protected SegmentNodeBuilder process(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
IOExceptionpublic 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 stateIOExceptionpublic PartialCompactionMap getCompactionMap()
public void setDeepCheckLargeBinaries(boolean deepCheckLargeBinaries)
public void setContentEqualityCheck(boolean contentEqualityCheck)
Copyright © 2012-2016 The Apache Software Foundation. All Rights Reserved.