* @throws RepositoryException if there is already another repository
* instance running on the given configuration
* or another error occurs.
*/
protected RepositoryImpl(RepositoryConfig repConfig) throws RepositoryException {
ScheduledThreadPoolExecutor executor = new ScheduledThreadPoolExecutor(
Runtime.getRuntime().availableProcessors() * 2,
new ThreadPoolExecutor.CallerRunsPolicy());
this.executor = executor;
// Acquire a lock on the repository home