Package | Description |
---|---|
org.apache.jackrabbit.oak.segment | |
org.apache.jackrabbit.oak.segment.compaction | |
org.apache.jackrabbit.oak.segment.file |
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 |
---|---|
static SegmentGCOptions |
SegmentGCOptions.defaultGCOptions()
|
SegmentGCOptions |
SegmentGCOptions.setBinaryDeduplicationMaxSize(long binMaxSize)
Offline compaction only.
|
SegmentGCOptions |
SegmentGCOptions.setForceTimeout(int timeout)
Set the number of seconds to attempt to force compact concurrent commits on top of
already compacted commits after the maximum number of retries has been reached.
|
SegmentGCOptions |
SegmentGCOptions.setGainThreshold(int gainThreshold)
Set the revision gain estimate threshold beyond which revision gc should run
|
SegmentGCOptions |
SegmentGCOptions.setGcSizeDeltaEstimation(long gcSizeDeltaEstimation) |
SegmentGCOptions |
SegmentGCOptions.setOffline()
Enables the offline compaction mode, allowing for certain optimizations,
like reducing the retained generation to 1.
|
SegmentGCOptions |
SegmentGCOptions.setPaused(boolean paused)
Set revision gc to paused.
|
SegmentGCOptions |
SegmentGCOptions.setRetainedGenerations(int retainedGenerations)
Set the number of segment generations to retain: each compaction run creates
a new segment generation.
|
SegmentGCOptions |
SegmentGCOptions.setRetryCount(int retryCount)
Set the number of tries to compact concurrent commits on top of already
compacted commits
|
SegmentGCOptions |
SegmentGCOptions.withBinaryDeduplication()
Offline compaction only.
|
Constructor and Description |
---|
SegmentRevisionGCMBean(SegmentGCOptions gcOptions) |
Modifier and Type | Method and Description |
---|---|
FileStoreBuilder |
FileStoreBuilder.withGCOptions(SegmentGCOptions gcOptions)
SegmentGCOptions the garbage collection options of the store |
Constructor and Description |
---|
SizeDeltaGcEstimation(SegmentGCOptions opts,
GCJournal gcJournal,
long totalSize) |
Copyright © 2012-2016 The Apache Software Foundation. All Rights Reserved.