Example usage for org.apache.cassandra.db.compaction CompactionController CompactionController

List of usage examples for org.apache.cassandra.db.compaction CompactionController CompactionController

Introduction

In this page you can find the example usage for org.apache.cassandra.db.compaction CompactionController CompactionController.

Prototype

public CompactionController(ColumnFamilyStore cfs, Set<SSTableReader> compacting, int gcBefore) 

Source Link

Usage

From source file:com.cloudian.support.SSTableCompactedRowIterable.java

License:Apache License

public SSTableCompactedRowIterable(Collection<SSTableReader> readers) throws IOException {

    this.scanners = this.getScanners(readers);

    controller = new CompactionController(SSTableGarbageChecker.cfStore,
            new HashSet<SSTableReader>(SSTableGarbageChecker.getSSTableReaders()),
            SSTableGarbageChecker.getGcBefore());

}