Example usage for org.apache.cassandra.transport Connection.ResponseCallback interface-usage

List of usage examples for org.apache.cassandra.transport Connection.ResponseCallback interface-usage

Introduction

In this page you can find the example usage for org.apache.cassandra.transport Connection.ResponseCallback interface-usage.

Usage

From source file com.datastax.driver.core.RequestHandler.java

/**
 * Handles a request to cassandra, dealing with host failover and retries on
 * unavailable/timeout.
 */
class RequestHandler implements Connection.ResponseCallback {

From source file com.datastax.driver.core.RetryingCallback.java

/**
 * Connection callback that handle retrying another node if the connection fails.
 *
 * For queries, this also handle retrying the query if the RetryPolicy say so.
 */
class RetryingCallback implements Connection.ResponseCallback {