Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 4 of 4 for createTimeoutTask (0.07 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. src/main/java/org/codelibs/fess/job/PythonJob.java

            if (jobExecutor != null) {
                jobExecutor.addShutdownListener(() -> ComponentUtil.getProcessHelper().destroyProcess(sessionId));
            }
    
            final TimeoutTask timeoutTask = createTimeoutTask();
            try {
                executePython();
            } catch (final Exception e) {
                logger.warn("Failed to run python command.", e);
                resultBuf.append(e.getMessage()).append("\n");
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 8.2K bytes
    - Click Count (0)
  2. src/main/java/org/codelibs/fess/job/ExecJob.java

         * If timeout is not set or is <= 0, returns null.
         *
         * @return the timeout task, or null if no timeout is configured
         */
        protected TimeoutTask createTimeoutTask() {
            if (timeout <= 0) {
                return null;
            }
            return TimeoutManager.getInstance().addTimeoutTarget(() -> {
                logger.warn("Process terminated: timeout={}s exceeded", timeout);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 14.2K bytes
    - Click Count (0)
  3. src/test/java/org/codelibs/fess/job/ExecJobTest.java

                super.appendJarFile(cpSeparator, buf, libDir, basePath);
            }
    
            public TimeoutTask testCreateTimeoutTask() {
                return super.createTimeoutTask();
            }
    
            public void testCreateSystemProperties(List<String> cmdList, File propFile) {
                super.createSystemProperties(cmdList, propFile);
            }
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 24.8K bytes
    - Click Count (0)
  4. src/main/java/org/codelibs/fess/job/CrawlJob.java

            }
    
            if (jobExecutor != null) {
                jobExecutor.addShutdownListener(() -> ComponentUtil.getProcessHelper().destroyProcess(sessionId));
            }
    
            final TimeoutTask timeoutTask = createTimeoutTask();
            try {
                executeCrawler();
                ComponentUtil.getKeyMatchHelper().update();
            } catch (final JobProcessingException e) {
                throw e;
    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)
Back to Top