Class SingleSSTableLCSTask
java.lang.Object
org.apache.cassandra.utils.WrappedRunnable
org.apache.cassandra.db.compaction.AbstractCompactionTask
org.apache.cassandra.db.compaction.SingleSSTableLCSTask
- All Implemented Interfaces:
Runnable
Special compaction task that does not do any compaction, instead it
just mutates the level metadata on the sstable and notifies the compaction
strategy.
-
Field Summary
Fields inherited from class org.apache.cassandra.db.compaction.AbstractCompactionTask
cfs, compactionType, isUserDefined, transaction -
Constructor Summary
ConstructorsConstructorDescriptionSingleSSTableLCSTask(ColumnFamilyStore cfs, LifecycleTransaction txn, int level) -
Method Summary
Modifier and TypeMethodDescriptionprotected intexecuteInternal(ActiveCompactionsTracker activeCompactions) getCompactionAwareWriter(ColumnFamilyStore cfs, Directories directories, LifecycleTransaction txn, Set<SSTableReader> nonExpiredSSTables) protected voidMethods inherited from class org.apache.cassandra.db.compaction.AbstractCompactionTask
execute, setCompactionType, setUserDefined, toStringMethods inherited from class org.apache.cassandra.utils.WrappedRunnable
run
-
Constructor Details
-
SingleSSTableLCSTask
-
-
Method Details
-
getCompactionAwareWriter
public CompactionAwareWriter getCompactionAwareWriter(ColumnFamilyStore cfs, Directories directories, LifecycleTransaction txn, Set<SSTableReader> nonExpiredSSTables) - Specified by:
getCompactionAwareWriterin classAbstractCompactionTask
-
executeInternal
- Specified by:
executeInternalin classAbstractCompactionTask
-
runMayThrow
protected void runMayThrow()- Specified by:
runMayThrowin classWrappedRunnable
-