Interface CompactionSegmentIterator
- All Superinterfaces:
Iterator<CompactionCandidate>
- All Known Implementing Classes:
DataSourceCompactibleSegmentIterator,PriorityBasedCompactionSegmentIterator
Iterator over compactible segments.
-
Method Summary
Modifier and TypeMethodDescriptionList of candidate segments that are already compacted and do not need to be compacted again.List of candidate segments that have been skipped for compaction as they cannot be compacted due to some reason.Methods inherited from interface java.util.Iterator
forEachRemaining, hasNext, next, remove
-
Method Details
-
getCompactedSegments
List<CompactionCandidate> getCompactedSegments()List of candidate segments that are already compacted and do not need to be compacted again. None of these segments are returned byIterator.next(). -
getSkippedSegments
List<CompactionCandidate> getSkippedSegments()List of candidate segments that have been skipped for compaction as they cannot be compacted due to some reason. None of these segments are returned byIterator.next().
-