com.netflix.astyanax
Interface RowCallback<K,C>


public interface RowCallback<K,C>


Method Summary
 boolean failure(ConnectionException e)
          Notification of an error calling cassandra.
 void success(Rows<K,C> rows)
          Notification for each block of rows.
 

Method Detail

success

void success(Rows<K,C> rows)
Notification for each block of rows.

Parameters:
rows -

failure

boolean failure(ConnectionException e)
Notification of an error calling cassandra. In your handler you can implement your own backoff logic and return true to retry or false to stop the query.

Parameters:
e -
Returns:
true to retry or false to exit


Copyright © 2012. All Rights Reserved.