cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jbel...@apache.org
Subject svn commit: r916976 - /incubator/cassandra/branches/cassandra-0.6/src/java/org/apache/cassandra/tools/NodeCmd.java
Date Sat, 27 Feb 2010 15:49:09 GMT
Author: jbellis
Date: Sat Feb 27 15:49:09 2010
New Revision: 916976

URL: http://svn.apache.org/viewvc?rev=916976&view=rev
Log:
fix nodecmd, too.  patch by jbellis

Modified:
    incubator/cassandra/branches/cassandra-0.6/src/java/org/apache/cassandra/tools/NodeCmd.java

Modified: incubator/cassandra/branches/cassandra-0.6/src/java/org/apache/cassandra/tools/NodeCmd.java
URL: http://svn.apache.org/viewvc/incubator/cassandra/branches/cassandra-0.6/src/java/org/apache/cassandra/tools/NodeCmd.java?rev=916976&r1=916975&r2=916976&view=diff
==============================================================================
--- incubator/cassandra/branches/cassandra-0.6/src/java/org/apache/cassandra/tools/NodeCmd.java
(original)
+++ incubator/cassandra/branches/cassandra-0.6/src/java/org/apache/cassandra/tools/NodeCmd.java
Sat Feb 27 15:49:09 2010
@@ -35,7 +35,6 @@
 import java.util.Set;
 import java.util.Map.Entry;
 
-import org.apache.cassandra.cache.JMXAggregatingCacheMBean;
 import org.apache.cassandra.cache.JMXInstrumentedCacheMBean;
 import org.apache.cassandra.concurrent.IExecutorMBean;
 import org.apache.cassandra.db.ColumnFamilyStoreMBean;
@@ -333,7 +332,7 @@
                 outs.println("\t\tWrite Latency: " + String.format("%01.3f", cfstore.getRecentWriteLatencyMicros()
/ 1000) + " ms.");
                 outs.println("\t\tPending Tasks: " + cfstore.getPendingTasks());
 
-                JMXAggregatingCacheMBean keyCacheMBean = probe.getKeyCacheMBean(tableName,
cfstore.getColumnFamilyName());
+                JMXInstrumentedCacheMBean keyCacheMBean = probe.getKeyCacheMBean(tableName,
cfstore.getColumnFamilyName());
                 if (keyCacheMBean.getCapacity() > 0)
                 {
                     outs.println("\t\tKey cache capacity: " + keyCacheMBean.getCapacity());



Mime
View raw message