List of usage examples for org.apache.cassandra.db.compaction AbstractCompactionStrategy TOMBSTONE_COMPACTION_INTERVAL_OPTION
String TOMBSTONE_COMPACTION_INTERVAL_OPTION
To view the source code for org.apache.cassandra.db.compaction AbstractCompactionStrategy TOMBSTONE_COMPACTION_INTERVAL_OPTION.
Click Source Link
From source file:com.jeffjirsa.cassandra.db.compaction.TimeWindowCompactionStrategy.java
License:Apache License
public TimeWindowCompactionStrategy(ColumnFamilyStore cfs, Map<String, String> options) { super(cfs, options); this.estimatedRemainingTasks = 0; this.options = new TimeWindowCompactionStrategyOptions(options); if (!options.containsKey(AbstractCompactionStrategy.TOMBSTONE_COMPACTION_INTERVAL_OPTION) && !options.containsKey(AbstractCompactionStrategy.TOMBSTONE_THRESHOLD_OPTION)) { disableTombstoneCompactions = true; logger.debug("Disabling tombstone compactions for TWCS"); } else// w ww . ja va 2s . c om logger.debug("Enabling tombstone compactions for TWCS"); }