/** * Async-Execute batches of statements. * * @param session * @param consistencyLevel * @param statements * @return * @since 0.3.1 */ public static ResultSetFuture executeBatchAsync(Session session, ConsistencyLevel consistencyLevel, Statement... statements) { return executeBatchAsync(session, consistencyLevel, null, statements); }
/** * Async-Execute batches of statements. * * @param session * @param statements * @return * @since 0.3.1 */ public static ResultSetFuture executeBatchAsync(Session session, Statement... statements) { return executeBatchAsync(session, null, null, statements); }
/** * Async-Execute batches of statements. * * @param session * @param batchType * @param statements * @return * @since 0.3.1 */ public static ResultSetFuture executeBatchAsync(Session session, BatchStatement.Type batchType, Statement... statements) { return executeBatchAsync(session, null, batchType, statements); }
ResultSetFuture rsf = CqlUtils.executeBatchAsync(getSession(), statements); if (callback != null) { Futures.addCallback(rsf, wrapCallbackResultSet(callback), asyncExecutor);
ResultSetFuture rsf = CqlUtils.executeBatchAsync(getSession(), batchType, statements); if (callback != null) {
ResultSetFuture rsf = CqlUtils.executeBatchAsync(getSession(), consistencyLevel, statements); if (callback != null) {
ResultSetFuture rsf = CqlUtils.executeBatchAsync(getSession(), consistencyLevel, batchType, statements); if (callback != null) {
ResultSetFuture rsf = CqlUtils.executeBatchAsync(getSession(), statements); if (callback != null) { Futures.addCallback(rsf, wrapCallbackResultSet(callback), asyncExecutor);
ResultSetFuture rsf = CqlUtils.executeBatchAsync(getSession(), batchType, statements); if (callback != null) {
ResultSetFuture rsf = CqlUtils.executeBatchAsync(getSession(), consistencyLevel, batchType, statements); if (callback != null) {
ResultSetFuture rsf = CqlUtils.executeBatchAsync(getSession(), consistencyLevel, statements); if (callback != null) {