Examples of estimateKeys()


Examples of org.apache.cassandra.db.ColumnFamilyStoreMBean.estimateKeys()

            Map.Entry<String, ColumnFamilyStoreMBean> e = (Map.Entry)it.next();

            String name = "cassandra.db." + (String)e.getKey() + "." + ((ColumnFamilyStoreMBean)e.getValue()).getColumnFamilyName();
            ColumnFamilyStoreMBean v = (ColumnFamilyStoreMBean)e.getValue();

            add(events, name + ".keys", (float)(v.estimateKeys() / 1000L));
            add(events, name + ".total_sstable_mb", (float)(v.getLiveDiskSpaceUsed() / 1048576L));
            add(events, name + ".total_bloom_mb", (float)(v.getBloomFilterDiskSpaceUsed() / 1048576L));
            add(events, name + ".bloom_fp_rate", (float)v.getRecentBloomFilterFalseRatio());
            add(events, name + ".max_row_size_kb", (float)(v.getMaxRowSize() / 1024L));
            add(events, name + ".min_row_size_kb", (float)(v.getMinRowSize() / 1024L));
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.