public class ForceUpLevel0Compaction extends Object implements CompactStrategy
CompactStrategy
to force compacting level 0 files.Constructor and Description |
---|
ForceUpLevel0Compaction(UniversalCompaction universal) |
Modifier and Type | Method and Description |
---|---|
Optional<CompactUnit> |
pick(int numLevels,
List<LevelSortedRun> runs)
Pick compaction unit from runs.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
pickFullCompaction
public ForceUpLevel0Compaction(UniversalCompaction universal)
public Optional<CompactUnit> pick(int numLevels, List<LevelSortedRun> runs)
CompactStrategy
pick
in interface CompactStrategy
Copyright © 2023–2024 The Apache Software Foundation. All rights reserved.