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 ErichNachbar
Date Fri, 02 Oct 2009 00:07:39 GMT
Dear Wiki user,

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

The "ClientExamples" page has been changed by ErichNachbar:
http://wiki.apache.org/cassandra/ClientExamples?action=diff&rev1=27&rev2=28

      main()
  }}}
  
+ == Notes ==
+ 
+ The Cassandra.Client object is always sending its request to the same Cassandra node in
the cluster. The server then determines if and where the request should be routed to (Server-based
routing). DNS Round Robin or a Cassandra.Client object pool connected to several servers in
the cluster can be used to get higher throughput and availability.
+ 
+ The get_string_property() method can be used to retrieve the active node list:
+ {{{
+ String jsonServerList = client.get_string_property("token map")
+ }}}
+ 

Mime
View raw message