public interface AsyncResultSetHandler<T> extends Serializable
Default handler for batch asynchronous execution.
| Modifier and Type | Field and Description | 
|---|---|
static AsyncResultSetHandler | 
NO_OP_HANDLER  | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
failure(Throwable t,
       T inputs)
This method is responsible for failing specified inputs. 
 | 
void | 
success(T inputs,
       com.datastax.driver.core.ResultSet resultSet)
This method is responsible for acknowledging specified inputs. 
 | 
static final AsyncResultSetHandler NO_OP_HANDLER
void failure(Throwable t, T inputs)
This method is responsible for failing specified inputs.
t - The cause the failure.inputs - The input tuple proceed.void success(T inputs, com.datastax.driver.core.ResultSet resultSet)
This method is responsible for acknowledging specified inputs.
inputs - The input tuple proceed.Copyright © 2022 The Apache Software Foundation. All rights reserved.