public interface CompactionManager
Compaction managers are responsible for providing a set of CompactionTasks to be executed
during log compaction. Each Compaction type is associated with a compaction manager.
Collection<CompactionTask> buildTasks(Storage storage, SegmentManager segments)
The collection of compaction tasks will be run in parallel in a pool of
Storage.compactionThreads() background threads. Implementations should ensure that
individual tasks can be run in parallel by operating on different segments in the log.
storage - The storage configuration.segments - The segments for which to build compaction tasks.Copyright © 2013–2016. All rights reserved.