Searched refs:executor (Results 1 - 25 of 26) sorted by relevance

12

/opengrok-sun/src/org/opensolaris/opengrok/history/
H A DSCCSget.java46 Executor executor = new Executor(argv);
47 if (executor.exec() == 0) {
48 ret = executor.getOutputStream();
H A DPerforceRepository.java81 Executor executor = new Executor(cmd, file.getParentFile());
82 executor.exec();
84 BufferedReader reader = new BufferedReader(executor.getOutputReader());
117 Executor executor = new Executor(cmd, new File(parent));
118 executor.exec();
119 return new ByteArrayInputStream(executor.getOutputString().getBytes());
130 Executor executor = new Executor(cmd, directory);
131 if (executor.exec() != 0) {
132 throw new IOException(executor.getErrorString());
167 Executor executor
[all...]
H A DAccuRevRepository.java113 Executor executor = new Executor(cmd, file.getParentFile());
114 executor.exec();
116 BufferedReader reader = new BufferedReader(executor.getOutputReader());
144 * Get an executor to be used for retrieving the history log for the given
199 Executor executor = new Executor(cmd, directory);
200 executor.exec();
202 BufferedReader info = new BufferedReader(executor.getOutputReader());
231 executor = new Executor(cmd, directory);
232 executor.exec();
235 new ByteArrayInputStream(executor
[all...]
H A DRepoRepository.java66 Executor executor = new Executor(cmd, directory);
67 if (executor.exec() != 0) {
68 throw new IOException(executor.getErrorString());
H A DMonotoneRepository.java159 Executor executor = new Executor(cmd, directory);
160 if (executor.exec() != 0) {
161 throw new IOException(executor.getErrorString());
167 in = new BufferedReader(executor.getOutputReader());
204 Executor executor = new Executor(cmd, directory);
205 if (executor.exec() != 0) {
206 throw new IOException(executor.getErrorString());
213 executor = new Executor(cmd, directory);
214 if (executor.exec() != 0) {
215 throw new IOException(executor
[all...]
H A DAccuRevHistoryParser.java85 Executor executor = repository.getHistoryLogExecutor(file);
86 executor.exec(true, this);
92 executor = repository.getHistoryLogExecutor(file);
93 executor.exec(true, this);
H A DSubversionRepository.java101 Executor executor = new Executor(cmd, directory);
102 if (executor.exec() == 0) {
106 Document document = builder.parse(executor.getOutputStream());
148 * Get an executor to be used for retrieving the history log for the
202 Executor executor = new Executor(cmd, directory);
203 if (executor.exec() == 0) {
204 ret = executor.getOutputStream();
350 Executor executor = new Executor(cmd, directory);
351 if (executor.exec() != 0) {
352 throw new IOException(executor
[all...]
H A DPerforceHistoryParser.java81 Executor executor = new Executor(cmd, file.getCanonicalFile());
82 executor.exec();
83 return parseChanges(executor.getOutputReader());
92 Executor executor = new Executor(cmd, file.getCanonicalFile().getParentFile());
93 executor.exec();
95 return parseFileLog(executor.getOutputReader());
H A DBazaarRepository.java55 * Get an executor to be used for retrieving the history log for the
207 Executor executor = new Executor(cmd, directory);
208 if (executor.exec() != 0) {
209 throw new IOException(executor.getErrorString());
212 if (executor.getOutputString().indexOf("parent branch:") != -1) {
216 executor = new Executor(cmd, directory);
217 if (executor.exec() != 0) {
218 throw new IOException(executor.getErrorString());
H A DClearCaseHistoryParser.java47 Executor executor = repository.getHistoryLogExecutor(file);
48 int status = executor.exec(true, this);
H A DMercurialRepository.java80 * Get an executor to be used for retrieving the history log for the
84 * @param changeset the oldest changeset to return from the executor,
276 Executor executor = new Executor(cmd, directory);
277 if (executor.exec() != 0) {
278 throw new IOException(executor.getErrorString());
281 if (executor.getOutputString().indexOf("paths.default=") != -1) {
286 executor = new Executor(cmd, directory);
287 if (executor.exec() != 0) {
288 throw new IOException(executor.getErrorString());
H A DGitRepository.java111 * Get an executor to be used for retrieving the history log for the
340 Executor executor = new Executor(cmd, directory);
341 if (executor.exec() != 0) {
342 throw new IOException(executor.getErrorString());
345 if (executor.getOutputString().indexOf("remote.origin.url=") != -1) {
351 if (executor.exec() != 0) {
352 throw new IOException(executor.getErrorString());
H A DBazaarHistoryParser.java57 Executor executor = repository.getHistoryLogExecutor(file, sinceRevision);
58 int status = executor.exec(true, this);
H A DCVSHistoryParser.java162 Executor executor = repository.getHistoryLogExecutor(file);
163 int status = executor.exec(true, this);
H A DGitHistoryParser.java157 Executor executor = repository.getHistoryLogExecutor(file, sinceRevision);
158 int status = executor.exec(true, this);
H A DMercurialHistoryParser.java72 Executor executor = repository.getHistoryLogExecutor(file, changeset);
73 int status = executor.exec(true, this);
H A DMonotoneHistoryParser.java71 Executor executor = repository.getHistoryLogExecutor(file, changeset);
72 int status = executor.exec(true, this);
H A DCVSRepository.java94 Executor executor = new Executor(cmd, directory);
95 if (executor.exec() != 0) {
96 throw new IOException(executor.getErrorString());
103 * Get an executor to be used for retrieving the history log for the
H A DSubversionHistoryParser.java153 Executor executor = repos.getHistoryLogExecutor(file, sinceRevision);
154 int status = executor.exec(true, this);
H A DHistoryGuru.java497 ExecutorService executor = Executors.newFixedThreadPool(num);
510 executor.submit(new Runnable() {
517 executor.shutdown();
518 while (!executor.isTerminated()) {
521 executor.awaitTermination(999,TimeUnit.DAYS);
524 "Received interrupt while waiting for executor to finish", exp);
/opengrok-sun/src/org/opensolaris/opengrok/web/
H A DSearchHelper.java168 private ExecutorService executor = null; field in class:SearchHelper
223 executor = Executors.newFixedThreadPool(noThreads);
226 ? new IndexSearcher(searchables, executor)
443 if (executor != null) {
445 executor.shutdown();
/opengrok-sun/test/org/opensolaris/opengrok/index/
H A DIndexerTest.java302 Executor executor;
304 executor = new Executor(new String[]{"mkdir", "-p", repository.getSourceRoot() + "/testBug11896"});
305 executor.exec(true);
307 executor = new Executor(new String[]{"mkfifo", repository.getSourceRoot() + "/testBug11896/FIFO"});
308 executor.exec(true);
/opengrok-sun/src/org/opensolaris/opengrok/index/
H A DIndexDatabase.java124 * @param executor An executor to run the job
127 public static void updateAll(ExecutorService executor) throws IOException { argument
128 updateAll(executor, null);
134 * @param executor An executor to run the job
138 static void updateAll(ExecutorService executor, IndexChangedListener listener) throws IOException { argument
156 executor.submit(new Runnable() {
172 * @param executor An executor t
177 update(ExecutorService executor, IndexChangedListener listener, List<String> paths) argument
444 optimizeAll(ExecutorService executor) argument
[all...]
H A DIndexer.java696 ExecutorService executor = Executors.newFixedThreadPool(noThreads);
700 IndexDatabase.updateAll(executor, progress);
702 IndexDatabase.optimizeAll(executor);
736 executor.submit(new Runnable() {
755 executor.shutdown();
756 while (!executor.isTerminated()) {
759 executor.awaitTermination(999, TimeUnit.DAYS);
761 log.log(Level.WARNING, "Received interrupt while waiting for executor to finish", exp);
/opengrok-sun/src/org/opensolaris/opengrok/configuration/
H A DRuntimeEnvironment.java297 Executor executor = new Executor(new String[]{getCtags(), "--version"});
299 executor.exec(false);
300 String output = executor.getOutputString();

Completed in 41 milliseconds

12