org.apache.cassandra.db.compaction
Class LeveledManifest

java.lang.Object
  extended by org.apache.cassandra.db.compaction.LeveledManifest

public class LeveledManifest
extends java.lang.Object


Method Summary
 void add(SSTableReader reader)
           
 java.util.Collection<SSTableReader> getCompactionCandidates()
           
 java.util.List<SSTableReader> getLevel(int i)
           
 int getLevelCount()
           
 int getLevelSize(int i)
           
 void logDistribution()
           
 void promote(java.lang.Iterable<SSTableReader> removed, java.lang.Iterable<SSTableReader> added)
           
 void serialize()
           
 java.lang.String toString()
           
static java.io.File tryGetManifest(ColumnFamilyStore cfs)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

add

public void add(SSTableReader reader)

promote

public void promote(java.lang.Iterable<SSTableReader> removed,
                    java.lang.Iterable<SSTableReader> added)

getCompactionCandidates

public java.util.Collection<SSTableReader> getCompactionCandidates()

getLevelSize

public int getLevelSize(int i)

logDistribution

public void logDistribution()

serialize

public void serialize()

tryGetManifest

public static java.io.File tryGetManifest(ColumnFamilyStore cfs)

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

getLevelCount

public int getLevelCount()

getLevel

public java.util.List<SSTableReader> getLevel(int i)


Copyright © 2011 The Apache Software Foundation