public class LeveledManifest
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
LeveledManifest.CompactionCandidate |
Modifier and Type | Field and Description |
---|---|
protected java.util.List<SSTableReader>[] |
generations |
protected final java.util.List<SSTableReader>[] generations
public static LeveledManifest create(ColumnFamilyStore cfs, int maxSSTableSize, java.util.List<SSTableReader> sstables)
public static LeveledManifest create(ColumnFamilyStore cfs, int maxSSTableSize, java.lang.Iterable<SSTableReader> sstables, SizeTieredCompactionStrategyOptions options)
public void add(SSTableReader reader)
public void replace(java.util.Collection<SSTableReader> removed, java.util.Collection<SSTableReader> added)
public void repairOverlappingSSTables(int level)
public LeveledManifest.CompactionCandidate getCompactionCandidates()
public int getLevelSize(int i)
public int[] getAllLevelSize()
public int remove(SSTableReader reader)
public java.util.Set<SSTableReader>[] getSStablesPerLevelSnapshot()
public java.lang.String toString()
toString
in class java.lang.Object
public int getLevelCount()
public java.util.SortedSet<SSTableReader> getLevelSorted(int level, java.util.Comparator<SSTableReader> comparator)
public java.util.List<SSTableReader> getLevel(int i)
public int getEstimatedTasks()
public int getNextLevel(java.util.Collection<SSTableReader> sstables)
Copyright © 2020 The Apache Software Foundation