Package | Description |
---|---|
org.apache.jackrabbit.oak.segment.compaction | |
org.apache.jackrabbit.oak.segment.file |
Modifier and Type | Method and Description |
---|---|
static SegmentGCOptions |
SegmentGCOptions.defaultGCOptions()
|
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.setGCLogInterval(long gcLogInterval)
Set the number of nodes after which an update about the compaction process is logged
|
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
|
Constructor and Description |
---|
SegmentRevisionGCMBean(@NotNull FileStore fileStore,
@NotNull SegmentGCOptions gcOptions,
@NotNull FileStoreGCMonitor fileStoreGCMonitor) |
Modifier and Type | Method and Description |
---|---|
@NotNull FileStoreBuilder |
FileStoreBuilder.withGCOptions(SegmentGCOptions gcOptions)
SegmentGCOptions the garbage collection options of the store |
Constructor and Description |
---|
GCMemoryBarrier(@NotNull AtomicBoolean sufficientMemory,
@NotNull org.apache.jackrabbit.oak.segment.file.GCListener gcListener,
@NotNull SegmentGCOptions gcOptions) |
Copyright © 2012–2020 The Apache Software Foundation. All rights reserved.