Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 34 for ontimeout (0.06 seconds)

  1. src/main/java/org/codelibs/fess/auth/chain/CommandChain.java

             * @param process The process to monitor.
             * @param timeout The timeout duration in milliseconds.
             */
            public MonitorThread(final Process process, final long timeout) {
                this.process = process;
                this.timeout = timeout;
            }
    
            /**
             * Runs the monitor thread, sleeping for the timeout duration and terminating the process if needed.
             */
    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)
  2. src/main/java/org/codelibs/fess/thumbnail/impl/CommandGenerator.java

            /** Timeout for process destruction in milliseconds. */
            private final long timeout;
    
            /**
             * Constructor for ProcessDestroyer.
             * @param p The process to monitor.
             * @param ist The input stream thread.
             * @param timeout The destruction timeout.
             */
    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)
  3. src/main/java/org/codelibs/fess/job/ExecJob.java

            return this;
        }
    
        /**
         * Sets the timeout for this job execution.
         *
         * @param timeout the timeout in seconds (-1 for no timeout)
         * @return this ExecJob instance for method chaining
         */
        public ExecJob timeout(final int timeout) {
            this.timeout = timeout;
            return this;
        }
    
        /**
         * Sets whether to use local Fesen instance.
    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)
  4. src/test/java/org/codelibs/fess/job/ExecJobTest.java

            assertEquals("", execJob.lastaEnv);
    
            // Test with very long timeout
            execJob.timeout(Integer.MAX_VALUE);
            assertEquals(Integer.MAX_VALUE, execJob.timeout);
    
            // Test with minimum timeout
            execJob.timeout(Integer.MIN_VALUE);
            assertEquals(Integer.MIN_VALUE, execJob.timeout);
        }
    
        // Test exception handling in execute
        @Test
    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)
  5. src/test/java/org/codelibs/fess/thumbnail/impl/CommandGeneratorTest.java

        @Test
        public void test_setCommandTimeout() throws Exception {
            final long timeout = 5000L;
            generator.setCommandTimeout(timeout);
            assertTrue(true);
        }
    
        @Test
        public void test_setCommandDestroyTimeout() throws Exception {
            final long timeout = 2000L;
            generator.setCommandDestroyTimeout(timeout);
            assertTrue(true);
        }
    
        @Test
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 27.8K bytes
    - Click Count (0)
  6. src/main/java/org/codelibs/fess/helper/ProcessHelper.java

        /** Timeout in seconds for process destruction */
        protected int processDestroyTimeout = 10;
    
        /** Timeout in seconds for stream closing operations */
        protected int streamCloseTimeout = 10;
    
        /**
         * Default constructor for ProcessHelper.
         * Initializes the process management system with default timeout values.
         */
        public ProcessHelper() {
    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)
  7. src/main/java/org/codelibs/fess/app/web/admin/backup/AdminBackupAction.java

        public static Consumer<Writer> getSearchLogNdjsonWriteCall() {
            final FessConfig fessConfig = ComponentUtil.getFessConfig();
            final SystemHelper systemHelper = ComponentUtil.getSystemHelper();
            final long timeout = fessConfig.getIndexBackupLogLoadTimeoutAsInteger().longValue();
            return writer -> {
                final SearchLogBhv bhv = ComponentUtil.getComponent(SearchLogBhv.class);
                bhv.selectCursor(cb -> {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Mon Nov 24 02:07:40 GMT 2025
    - 32.1K bytes
    - Click Count (0)
  8. src/test/java/org/codelibs/fess/util/ParameterUtilTest.java

            }
    
            // Test with config parameters
            configParameters = "config.timeout=30\nconfig.retry=3";
            result = ParameterUtil.createConfigParameterMap(configParameters);
            assertEquals(2, result.get(ConfigName.CONFIG).size());
            assertEquals("30", result.get(ConfigName.CONFIG).get("timeout"));
            assertEquals("3", result.get(ConfigName.CONFIG).get("retry"));
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 22.8K bytes
    - Click Count (0)
  9. src/main/java/org/codelibs/fess/entity/SearchRenderData.java

        protected long currentEndRecordNumber;
    
        /** List of page numbers for pagination navigation. */
        protected List<String> pageNumberList;
    
        /** Flag indicating whether the results are partial due to timeout or other issues. */
        protected boolean partialResults;
    
        /** The actual search query executed against the search engine. */
        protected String searchQuery;
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 12.5K bytes
    - Click Count (0)
  10. src/test/java/org/codelibs/fess/job/GenerateThumbnailJobTest.java

            assertTrue(result.contains("Session Id: " + thumbnailJob.sessionId));
        }
    
        // Test execute with timeout
        @Test
        public void test_execute_withTimeout() {
            thumbnailJob.numOfThreads(2);
            thumbnailJob.timeout = 120; // Set timeout
            thumbnailJob.processTimeout = true;
    
            testProcessHelper.exitValue = -1;
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 19K bytes
    - Click Count (0)
Back to Top