cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jbel...@apache.org
Subject svn commit: r1210536 - /cassandra/branches/cassandra-1.0/src/java/org/apache/cassandra/tools/NodeCmd.java
Date Mon, 05 Dec 2011 17:10:31 GMT
Author: jbellis
Date: Mon Dec  5 17:10:31 2011
New Revision: 1210536

URL: http://svn.apache.org/viewvc?rev=1210536&view=rev
Log:
reformat NodeCmd.NodeCommand
patch by Peter Schuller; reviewed by jbellis for CASSANDRA-3572

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

Modified: cassandra/branches/cassandra-1.0/src/java/org/apache/cassandra/tools/NodeCmd.java
URL: http://svn.apache.org/viewvc/cassandra/branches/cassandra-1.0/src/java/org/apache/cassandra/tools/NodeCmd.java?rev=1210536&r1=1210535&r2=1210536&view=diff
==============================================================================
--- cassandra/branches/cassandra-1.0/src/java/org/apache/cassandra/tools/NodeCmd.java (original)
+++ cassandra/branches/cassandra-1.0/src/java/org/apache/cassandra/tools/NodeCmd.java Mon
Dec  5 17:10:31 2011
@@ -75,14 +75,44 @@ public class NodeCmd
         this.probe = probe;
     }
 
-    public enum NodeCommand
+    private enum NodeCommand
     {
-        RING, INFO, CFSTATS, SNAPSHOT, CLEARSNAPSHOT, VERSION, TPSTATS, FLUSH, DRAIN,
-        DECOMMISSION, MOVE, REMOVETOKEN, REPAIR, CLEANUP, COMPACT, SCRUB,
-        SETCACHECAPACITY, GETCOMPACTIONTHRESHOLD, SETCOMPACTIONTHRESHOLD, NETSTATS, CFHISTOGRAMS,
-        COMPACTIONSTATS, DISABLEGOSSIP, ENABLEGOSSIP, INVALIDATEKEYCACHE, INVALIDATEROWCACHE,
-        DISABLETHRIFT, ENABLETHRIFT, STATUSTHRIFT, JOIN, SETCOMPACTIONTHROUGHPUT, GETENDPOINTS,
-        REFRESH, GOSSIPINFO, UPGRADESSTABLES, STOP
+        CFHISTOGRAMS,
+        CFSTATS,
+        CLEANUP,
+        CLEARSNAPSHOT,
+        COMPACT,
+        COMPACTIONSTATS,
+        DECOMMISSION,
+        DISABLEGOSSIP,
+        DISABLETHRIFT,
+        DRAIN,
+        ENABLEGOSSIP,
+        ENABLETHRIFT,
+        FLUSH,
+        GETCOMPACTIONTHRESHOLD,
+        GETENDPOINTS,
+        GOSSIPINFO,
+        INFO,
+        INVALIDATEKEYCACHE,
+        INVALIDATEROWCACHE,
+        JOIN,
+        MOVE,
+        NETSTATS,
+        REFRESH,
+        REMOVETOKEN,
+        REPAIR,
+        RING,
+        SCRUB,
+        SETCACHECAPACITY,
+        SETCOMPACTIONTHRESHOLD,
+        SETCOMPACTIONTHROUGHPUT,
+        SNAPSHOT,
+        STATUSTHRIFT,
+        STOP,
+        TPSTATS,
+        UPGRADESSTABLES,
+        VERSION,
     }
 
     



Mime
View raw message