Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 10 for exitValue (0.05 seconds)

  1. src/test/java/org/codelibs/fess/job/GenerateThumbnailJobTest.java

                return new TestJobProcess(exitValue, processOutput);
            }
        }
    
        private static class TestJobProcess extends JobProcess {
            private final int exitValue;
            private final String output;
    
            public TestJobProcess(int exitValue, String output) {
                super(new TestProcess(exitValue));
                this.exitValue = exitValue;
                this.output = output;
            }
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 19K bytes
    - Click Count (0)
  2. src/test/java/org/codelibs/fess/job/PythonJobTest.java

            private final int exitValue;
    
            public TestProcess(int exitValue) {
                this.exitValue = exitValue;
            }
    
            @Override
            public int waitFor() throws InterruptedException {
                return exitValue;
            }
    
            @Override
            public int exitValue() {
                return exitValue;
            }
    
            @Override
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 22.2K bytes
    - Click Count (0)
  3. src/test/java/org/codelibs/fess/job/SuggestJobTest.java

        private class MockProcess extends Process {
            private final int exitValue;
    
            public MockProcess(int exitValue) {
                this.exitValue = exitValue;
            }
    
            @Override
            public int waitFor() {
                return exitValue;
            }
    
            @Override
            public int exitValue() {
                return exitValue;
            }
    
            @Override
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 31.6K bytes
    - Click Count (0)
  4. src/main/java/org/codelibs/fess/thumbnail/impl/CommandGenerator.java

                        final int exitValue = p.exitValue();
                        if (exitValue != 0) {
                            logger.warn("{} failed: exitCode={}, command={}", getName(), exitValue, commandList);
                        }
    
                        if (logger.isDebugEnabled()) {
                            logger.debug("{} finished: exitCode={}", getName(), exitValue);
                        }
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jan 01 12:47:47 GMT 2026
    - 16.6K bytes
    - Click Count (0)
  5. src/main/java/org/codelibs/fess/job/SuggestJob.java

                currentProcess.waitFor();
                it.join(5000);
    
                final int exitValue = currentProcess.exitValue();
    
                if (logger.isInfoEnabled()) {
                    logger.info("SuggestCreator: Exit Code={} - Process Output:\n{}", exitValue, it.getOutput());
                }
                if (exitValue != 0) {
                    final StringBuilder out = new StringBuilder();
                    if (processTimeout) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 10.5K bytes
    - Click Count (0)
  6. src/main/java/org/codelibs/fess/job/GenerateThumbnailJob.java

                currentProcess.waitFor();
                it.join(5000);
    
                final int exitValue = currentProcess.exitValue();
    
                if (logger.isInfoEnabled()) {
                    logger.info("ThumbnailGenerator: Exit Code={} - Process Output:\n{}", exitValue, it.getOutput());
                }
                if (exitValue != 0) {
                    final StringBuilder out = new StringBuilder();
                    if (processTimeout) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 11.7K bytes
    - Click Count (0)
  7. src/main/java/org/codelibs/fess/auth/chain/CommandChain.java

                }
    
                final int exitValue = currentProcess.exitValue();
    
                if (logger.isInfoEnabled()) {
                    logger.info("Command execution completed for user: username={}, exitCode={}", username, exitValue);
                }
                if (logger.isDebugEnabled()) {
                    logger.debug("Process output:\n{}", it.getOutput());
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 14.4K bytes
    - Click Count (0)
  8. src/main/java/org/codelibs/fess/job/CrawlJob.java

                currentProcess.waitFor();
                it.join(5000);
    
                final int exitValue = currentProcess.exitValue();
    
                if (logger.isInfoEnabled()) {
                    logger.info("Crawler: Exit Code={} - Process Output:\n{}", exitValue, it.getOutput());
                }
                if (exitValue != 0) {
                    final StringBuilder out = new StringBuilder();
                    if (processTimeout) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 19.6K bytes
    - Click Count (0)
  9. src/main/java/org/codelibs/fess/helper/ProcessHelper.java

                    logger.warn("Interrupted to wait a process.", e);
                }
                try {
                    process.destroyForcibly().waitFor(processDestroyTimeout, TimeUnit.SECONDS);
                    return process.exitValue();
                } catch (final Exception e) {
                    logger.error("Could not destroy a process correctly.", e);
                }
            }
            return -1;
        }
    
        /**
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Nov 20 06:54:47 GMT 2025
    - 10.9K bytes
    - Click Count (0)
  10. build-logic/cleanup/src/main/java/gradlebuild/cleanup/services/KillLeakingJavaProcesses.java

                process.waitFor(1, TimeUnit.MINUTES);
                latch.await(1, TimeUnit.MINUTES);
                return new ExecResult(args, process.exitValue(), stdout.toString(UTF_8), stderr.toString(UTF_8));
            } catch (Exception e) {
                throw new RuntimeException(e);
            }
        }
    
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Tue Sep 23 13:49:45 GMT 2025
    - 12K bytes
    - Click Count (0)
Back to Top