BatchCoordinator coordinator = createCoordinator();
coordinator.run();
}
protected BatchCoordinator createCoordinator() {
return new BatchCoordinator( gridDialect, rootEntities, searchFactory, sessionFactory, threadsToLoad,
threadForSubsequentFetching, cacheMode, batchSizeToLoad, maximumIndexedObjects, optimizeOnFinish,
purgeAllOnStart, optimizeAfterPurge, monitor, idFetchSize );
}