Searched refs:noThreads (Results 1 - 5 of 5) sorted by relevance

/opengrok-sun/src/org/opensolaris/opengrok/management/
H A DManagement.java44 private Integer noThreads = Integer.valueOf(1); field in class:Management
61 noThreads = Integer.valueOf(ogaProperties.getProperty("org.opensolaris.opengrok.indexer.numberofthreads"));
199 this.noThreads = val;
203 return noThreads;
H A DAgentIndexRunner.java132 int noThreads = Management.getInstance().getNumberOfThreads().intValue();
138 log.log(Level.INFO, "Starting index, update {0} noThreads {1} subfiles {2}", new Object[]{String.valueOf(update), String.valueOf(noThreads), String.valueOf(subFiles.size())});
139 index.doIndexerExecution(update, noThreads, subFiles, this);
/opengrok-sun/src/org/opensolaris/opengrok/web/
H A DSearchHelper.java222 int noThreads = 2 + (2 * Runtime.getRuntime().availableProcessors()); //TODO there might be a better way for counting this
223 executor = Executors.newFixedThreadPool(noThreads);
/opengrok-sun/src/org/opensolaris/opengrok/index/
H A DIndexer.java109 int noThreads = 2 + (2 * Runtime.getRuntime().availableProcessors());
363 noThreads = Integer.parseInt(getopt.getOptarg());
507 getInstance().doIndexerExecution(update, noThreads, subFiles,
690 public void doIndexerExecution(final boolean update, int noThreads, List<String> subFiles, argument
696 ExecutorService executor = Executors.newFixedThreadPool(noThreads);
/opengrok-sun/src/org/opensolaris/opengrok/search/
H A DSearchEngine.java197 int noThreads = 2 + (2 * Runtime.getRuntime().availableProcessors()); //TODO there might be a better way for counting this - or we should honor the command line option here too!
198 ExecutorService executor = Executors.newFixedThreadPool(noThreads);

Completed in 359 milliseconds