Re: Java sample code for non-blocking async query

2014-09-01 Thread Stephen Portanova
This is what I used in scala - you'll need the 'toFuture' implicit to do executeAsync asynchronously https://github.com/eigengo/activator-akka-cassandra/blob/master/src/main/scala/core/cassandra.scala On Mon, Sep 1, 2014 at 10:14 PM, Gary Zhao wrote: > Hello > > I'm looking for non-blocking as

Java sample code for non-blocking async query

2014-09-01 Thread Gary Zhao
Hello I'm looking for non-blocking async query sample code. The one I found in the following link is async query but blocking. Could anyone share such code? http://www.datastax.com/documentation/developer/java-driver/1.0/java-driver/asynchronous_t.html Thanks Gary