public interface

RowCallback

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

Summary

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

Public Methods

public abstract 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.

Returns
  • true to retry or false to exit

public abstract void success (Rows<K, C> rows)

Notification for each block of rows.