Search in sources :

Example 1 with ContinuousCqlRequestSyncProcessor

use of com.datastax.dse.driver.internal.core.cql.continuous.ContinuousCqlRequestSyncProcessor in project java-driver by datastax.

the class BuiltInRequestProcessors method addBasicProcessors.

public static void addBasicProcessors(List<RequestProcessor<?, ?>> processors) {
    // regular requests (sync and async)
    CqlRequestAsyncProcessor cqlRequestAsyncProcessor = new CqlRequestAsyncProcessor();
    CqlRequestSyncProcessor cqlRequestSyncProcessor = new CqlRequestSyncProcessor(cqlRequestAsyncProcessor);
    processors.add(cqlRequestAsyncProcessor);
    processors.add(cqlRequestSyncProcessor);
    // prepare requests (sync and async)
    CqlPrepareAsyncProcessor cqlPrepareAsyncProcessor = new CqlPrepareAsyncProcessor();
    CqlPrepareSyncProcessor cqlPrepareSyncProcessor = new CqlPrepareSyncProcessor(cqlPrepareAsyncProcessor);
    processors.add(cqlPrepareAsyncProcessor);
    processors.add(cqlPrepareSyncProcessor);
    // continuous requests (sync and async)
    ContinuousCqlRequestAsyncProcessor continuousCqlRequestAsyncProcessor = new ContinuousCqlRequestAsyncProcessor();
    ContinuousCqlRequestSyncProcessor continuousCqlRequestSyncProcessor = new ContinuousCqlRequestSyncProcessor(continuousCqlRequestAsyncProcessor);
    processors.add(continuousCqlRequestAsyncProcessor);
    processors.add(continuousCqlRequestSyncProcessor);
}
Also used : ContinuousCqlRequestSyncProcessor(com.datastax.dse.driver.internal.core.cql.continuous.ContinuousCqlRequestSyncProcessor) ContinuousCqlRequestAsyncProcessor(com.datastax.dse.driver.internal.core.cql.continuous.ContinuousCqlRequestAsyncProcessor) CqlPrepareSyncProcessor(com.datastax.oss.driver.internal.core.cql.CqlPrepareSyncProcessor) CqlRequestSyncProcessor(com.datastax.oss.driver.internal.core.cql.CqlRequestSyncProcessor) ContinuousCqlRequestSyncProcessor(com.datastax.dse.driver.internal.core.cql.continuous.ContinuousCqlRequestSyncProcessor) CqlPrepareAsyncProcessor(com.datastax.oss.driver.internal.core.cql.CqlPrepareAsyncProcessor) CqlRequestAsyncProcessor(com.datastax.oss.driver.internal.core.cql.CqlRequestAsyncProcessor) ContinuousCqlRequestAsyncProcessor(com.datastax.dse.driver.internal.core.cql.continuous.ContinuousCqlRequestAsyncProcessor)

Aggregations

ContinuousCqlRequestAsyncProcessor (com.datastax.dse.driver.internal.core.cql.continuous.ContinuousCqlRequestAsyncProcessor)1 ContinuousCqlRequestSyncProcessor (com.datastax.dse.driver.internal.core.cql.continuous.ContinuousCqlRequestSyncProcessor)1 CqlPrepareAsyncProcessor (com.datastax.oss.driver.internal.core.cql.CqlPrepareAsyncProcessor)1 CqlPrepareSyncProcessor (com.datastax.oss.driver.internal.core.cql.CqlPrepareSyncProcessor)1 CqlRequestAsyncProcessor (com.datastax.oss.driver.internal.core.cql.CqlRequestAsyncProcessor)1 CqlRequestSyncProcessor (com.datastax.oss.driver.internal.core.cql.CqlRequestSyncProcessor)1