/** Creates a new instance. */ public DfsFileImport() { File cmd = ConfigurationLoader.getLocalScriptPath(Constants.PATH_LOCAL_CACHE_BUILD); this.cacheBuildCommand = cmd.getAbsolutePath(); int parallel = Integer.parseInt( ConfigurationLoader.getProperty(Constants.PROP_KEY_CACHE_BUILDER_PARALLEL)); LOG.debugMessage("Building a cache builder with {0} threads", parallel); this.executor = Executors.newFixedThreadPool(parallel); }