cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <wikidi...@apache.org>
Subject [Cassandra Wiki] Update of "ClientExamples" by JonathanEllis
Date Thu, 20 Aug 2009 21:56:01 GMT
Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Cassandra Wiki" for change notification.

The following page has been changed by JonathanEllis:
http://wiki.apache.org/cassandra/ClientExamples

------------------------------------------------------------------------------
    // Timestamp for update
    $timestamp = time();
    
+   // TODO someone who knows PHP update this to use ConsistencyLevel constants
-   // block_for specifies how many nodes need to process the update before you call it a
success.  
-   //0=async insert(minimal), 1-N(nodes) number of nodes to commit
    $block_for = 0;
    
    // Add the value to be written to the table, User Key, and path. 

Mime
View raw message