| 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.setEstimationDisabled(boolean disabled)
Disables the estimation phase, thus allowing GC to run every time.
|
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.setGcSizeDeltaEstimation(long gcSizeDeltaEstimation) |
SegmentGCOptions |
SegmentGCOptions.setMemoryThreshold(int memoryThreshold)
Set the available memory threshold beyond which revision gc will be
canceled.
|
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.
|
SegmentGCOptions |
SegmentGCOptions.withGCNodeWriteMonitor(long gcProgressLog)
Enables the GcWriteMonitor with the given params.
|
| Constructor and Description |
|---|
SegmentRevisionGCMBean(FileStore fileStore,
SegmentGCOptions gcOptions,
FileStoreGCMonitor fileStoreGCMonitor) |
| Modifier and Type | Method and Description |
|---|---|
FileStoreBuilder |
FileStoreBuilder.withGCOptions(SegmentGCOptions gcOptions)
SegmentGCOptions the garbage collection options of the store |
| Constructor and Description |
|---|
GCMemoryBarrier(AtomicBoolean sufficientMemory,
org.apache.jackrabbit.oak.segment.file.GCListener gcListener,
long gcCount,
SegmentGCOptions gcOptions) |
SizeDeltaGcEstimation(SegmentGCOptions opts,
GCJournal gcJournal,
long totalSize) |
Copyright © 2012-2017 The Apache Software Foundation. All Rights Reserved.