Example usage for org.apache.cassandra.db ColumnFamilyStoreMBean getMinimumCompactionThreshold

List of usage examples for org.apache.cassandra.db ColumnFamilyStoreMBean getMinimumCompactionThreshold

Introduction

In this page you can find the example usage for org.apache.cassandra.db ColumnFamilyStoreMBean getMinimumCompactionThreshold.

Prototype

public int getMinimumCompactionThreshold();

Source Link

Document

Gets the minimum number of sstables in queue before compaction kicks off

Usage

From source file:org.kit.tecs.NodeProbe.java

License:Apache License

public void getCompactionThreshold(PrintStream outs, String ks, String cf) {
    ColumnFamilyStoreMBean cfsProxy = getCfsProxy(ks, cf);
    outs.println("Current compaction thresholds for " + ks + "/" + cf + ": \n" + " min = "
            + cfsProxy.getMinimumCompactionThreshold() + ", " + " max = "
            + cfsProxy.getMaximumCompactionThreshold());
}