cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From eev...@apache.org
Subject svn commit: r892980 - /incubator/cassandra/trunk/contrib/client_only/ClientOnlyExample.java
Date Mon, 21 Dec 2009 21:17:34 GMT
Author: eevans
Date: Mon Dec 21 21:17:32 2009
New Revision: 892980

URL: http://svn.apache.org/viewvc?rev=892980&view=rev
Log:
update sample to use new StorageProxy.mutate() method

Modified:
    incubator/cassandra/trunk/contrib/client_only/ClientOnlyExample.java

Modified: incubator/cassandra/trunk/contrib/client_only/ClientOnlyExample.java
URL: http://svn.apache.org/viewvc/incubator/cassandra/trunk/contrib/client_only/ClientOnlyExample.java?rev=892980&r1=892979&r2=892980&view=diff
==============================================================================
--- incubator/cassandra/trunk/contrib/client_only/ClientOnlyExample.java (original)
+++ incubator/cassandra/trunk/contrib/client_only/ClientOnlyExample.java Mon Dec 21 21:17:32
2009
@@ -23,6 +23,7 @@
 
 import java.io.IOException;
 import java.util.ArrayList;
+import java.util.Arrays;
 import java.util.Collection;
 import java.util.List;
 
@@ -53,7 +54,7 @@
             // local storage initialization, which creates local directories.
             // change.apply();
 
-            StorageProxy.insert(change);
+            StorageProxy.mutate(Arrays.asList(change));
             try
             {
                 Thread.sleep(50L);



Mime
View raw message