Package org.apache.cassandra.db
Class AbstractCompactionController
java.lang.Object
org.apache.cassandra.db.AbstractCompactionController
- All Implemented Interfaces:
AutoCloseable
- Direct Known Subclasses:
CompactionController
AbstractCompactionController allows custom implementations of the CompactionController for use in tooling, without being tied to the SSTableReader and local filesystem
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionAbstractCompactionController(ColumnFamilyStore cfs, long gcBefore, CompactionParams.TombstoneOption tombstoneOption) -
Method Summary
Modifier and TypeMethodDescriptionabstract booleanabstract LongPredicateshadowSources(DecoratedKey key, boolean tombstoneOnly) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.lang.AutoCloseable
close
-
Field Details
-
cfs
-
gcBefore
public final long gcBefore -
tombstoneOption
-
-
Constructor Details
-
AbstractCompactionController
public AbstractCompactionController(ColumnFamilyStore cfs, long gcBefore, CompactionParams.TombstoneOption tombstoneOption)
-
-
Method Details
-
compactingRepaired
public abstract boolean compactingRepaired() -
getKeyspace
-
getColumnFamily
-
shadowSources
-
getPurgeEvaluator
-