static SegmentGCOptions |
SegmentGCOptions.defaultGCOptions() |
|
SegmentGCOptions |
SegmentGCOptions.setCompactorType(SegmentGCOptions.CompactorType compactorType) |
Sets the compactor type to be used for compaction
|
SegmentGCOptions |
SegmentGCOptions.setConcurrency(int concurrency) |
Sets the concurrency level for compaction
|
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
|