Search in sources :

Example 1 with GraphRequestSyncProcessor

use of com.datastax.dse.driver.internal.core.graph.GraphRequestSyncProcessor in project java-driver by datastax.

the class BuiltInRequestProcessors method addGraphProcessors.

public static void addGraphProcessors(DefaultDriverContext context, List<RequestProcessor<?, ?>> processors) {
    GraphRequestAsyncProcessor graphRequestAsyncProcessor = new GraphRequestAsyncProcessor(context, new GraphSupportChecker());
    GraphRequestSyncProcessor graphRequestSyncProcessor = new GraphRequestSyncProcessor(graphRequestAsyncProcessor);
    processors.add(graphRequestAsyncProcessor);
    processors.add(graphRequestSyncProcessor);
}
Also used : GraphRequestAsyncProcessor(com.datastax.dse.driver.internal.core.graph.GraphRequestAsyncProcessor) GraphSupportChecker(com.datastax.dse.driver.internal.core.graph.GraphSupportChecker) GraphRequestSyncProcessor(com.datastax.dse.driver.internal.core.graph.GraphRequestSyncProcessor)

Aggregations

GraphRequestAsyncProcessor (com.datastax.dse.driver.internal.core.graph.GraphRequestAsyncProcessor)1 GraphRequestSyncProcessor (com.datastax.dse.driver.internal.core.graph.GraphRequestSyncProcessor)1 GraphSupportChecker (com.datastax.dse.driver.internal.core.graph.GraphSupportChecker)1