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

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

Introduction

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

Prototype

public int getMaximumCompactionThreshold();

Source Link

Document

Gets the maximum 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());
}