| Package | Description |
|---|---|
| io.atomix.copycat.server.storage.compaction |
Classes and interfaces that facilitate compaction of the Copycat
log. |
| Modifier and Type | Method and Description |
|---|---|
List<CompactionTask> |
MinorCompactionManager.buildTasks(Storage storage,
SegmentManager segments) |
List<CompactionTask> |
MajorCompactionManager.buildTasks(Storage storage,
SegmentManager segments) |
Collection<CompactionTask> |
CompactionManager.buildTasks(Storage storage,
SegmentManager segments)
Builds compaction tasks for the given segments.
|
List<List<Segment>> |
MajorCompactionManager.getCompactableGroups(Storage storage,
SegmentManager manager)
Returns a list of segments lists to compact, where segments are grouped according to how they will be merged during
compaction.
|
| Constructor and Description |
|---|
Compactor(Storage storage,
SegmentManager segments,
ScheduledExecutorService executor) |
Copyright © 2013–2016. All rights reserved.