|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.cassandra.utils.WrappedRunnable
org.apache.cassandra.io.util.DiskAwareRunnable
org.apache.cassandra.db.compaction.AbstractCompactionTask
org.apache.cassandra.db.compaction.CompactionTask
org.apache.cassandra.db.compaction.LeveledCompactionTask
public class LeveledCompactionTask
| Field Summary |
|---|
| Fields inherited from class org.apache.cassandra.db.compaction.CompactionTask |
|---|
gcBefore, logger, totalBytesCompacted |
| Fields inherited from class org.apache.cassandra.db.compaction.AbstractCompactionTask |
|---|
cfs, compactionType, isUserDefined, sstables |
| Constructor Summary | |
|---|---|
LeveledCompactionTask(ColumnFamilyStore cfs,
java.util.Collection<SSTableReader> sstables,
int gcBefore,
int sstableSizeInMB)
|
|
| Method Summary | |
|---|---|
protected boolean |
newSSTableSegmentThresholdReached(SSTableWriter writer)
|
protected boolean |
partialCompactionsAcceptable()
|
| Methods inherited from class org.apache.cassandra.db.compaction.CompactionTask |
|---|
addToTotalBytesCompacted, execute, getExpectedWriteSize, getMaxDataAge, reduceScopeForLimitedSpace, runWith |
| Methods inherited from class org.apache.cassandra.db.compaction.AbstractCompactionTask |
|---|
setCompactionType, setUserDefined, toString, unmarkSSTables |
| Methods inherited from class org.apache.cassandra.io.util.DiskAwareRunnable |
|---|
runMayThrow |
| Methods inherited from class org.apache.cassandra.utils.WrappedRunnable |
|---|
run |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public LeveledCompactionTask(ColumnFamilyStore cfs,
java.util.Collection<SSTableReader> sstables,
int gcBefore,
int sstableSizeInMB)
| Method Detail |
|---|
protected boolean newSSTableSegmentThresholdReached(SSTableWriter writer)
newSSTableSegmentThresholdReached in class CompactionTaskprotected boolean partialCompactionsAcceptable()
partialCompactionsAcceptable in class CompactionTask
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||