src/java/org/apache/cassandra/db/compaction/CompactionTask.java
/**
     * @return true if the proposed compaction is worth proceeding with.  We allow leveled compaction to
     * override this to allow "promoting" sstables from one level to another w/o rewriting them, if there is no overlapping.
     */
@return true if the proposed compaction is worth proceeding with.  We allow leveled compaction to
override this to allow "promoting" sstables from one level to another w/o rewriting them, if there is no overlapping.
@return true if the proposed compaction is worth proceeding with . We allow leveled compaction to override this to allow " promoting " sstables from one level to another w / o rewriting them if there is no overlapping .
protected boolean isCompactionInteresting(Set<SSTableReader> toCompact)
    {
        if (isUserDefined || toCompact.size() >= 2)
            return true;
        logger.info(String.format("Nothing to compact in %s.  Use forceUserDefinedCompaction if you wish to force compaction of single sstables (e.g. for tombstone collection)",
                                   cfs.getColumnFamilyName()));
        return false;
    }
protected boolean isCompactionInteresting ( Set < SSTableReader > toCompact ) { if ( isUserDefined || toCompact . size ( ) >= 2 ) return true ; logger . info ( String . format ( "Nothing to compact in %s.  Use forceUserDefinedCompaction if you wish to force compaction of single sstables (e.g. for tombstone collection)" , cfs . getColumnFamilyName ( ) ) ) ; return false ; }
@return true if the proposed compaction is worth proceeding with.
@return true if the proposed compaction is worth proceeding with .