use of com.hazelcast.sql.impl.plan.cache.PlanCacheChecker in project hazelcast by hazelcast.
the class SqlServiceImpl method start.
public void start() {
QueryResultRegistry resultRegistry = new QueryResultRegistry();
optimizer = createOptimizer(nodeEngine, resultRegistry);
String instanceName = nodeEngine.getHazelcastInstance().getName();
PlanCacheChecker planCacheChecker = new PlanCacheChecker(nodeEngine, planCache, optimizer.tableResolvers());
internalService = new SqlInternalService(resultRegistry, instanceName, nodeServiceProvider, STATE_CHECK_FREQUENCY, planCacheChecker);
internalService.start();
}
Aggregations