Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 399 for process (0.05 seconds)

  1. src/test/java/org/codelibs/fess/util/JobProcessTest.java

        public void test_processAssignment() throws IOException {
            Process mockProcess = createMockProcess("assignment test");
            JobProcess jobProcess = new JobProcess(mockProcess);
    
            Process assignedProcess = jobProcess.getProcess();
    
            assertSame(mockProcess, assignedProcess, "Process should be exactly the same instance");
        }
    
        private Process createMockProcess(String output) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 8.8K bytes
    - Click Count (0)
  2. src/test/java/org/codelibs/fess/exec/ThumbnailGeneratorTest.java

            // Test process method without properties path
            ThumbnailGenerator.Options options = new ThumbnailGenerator.Options();
            options.numOfThreads = 2;
            options.cleanup = true;
    
            // Setup mock components
            setupMockComponents();
    
            Method processMethod = ThumbnailGenerator.class.getDeclaredMethod("process", ThumbnailGenerator.Options.class);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 11.2K bytes
    - Click Count (0)
  3. docs/en/docs/deployment/https.md

    <img src="/img/deployment/https/https05.drawio.svg">
    
    ### HTTP Response { #http-response }
    
    The application would process the request and send a **plain (unencrypted) HTTP response** to the TLS Termination Proxy.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 14K bytes
    - Click Count (0)
  4. src/main/java/org/codelibs/fess/thumbnail/impl/CommandGenerator.java

        }
    
        /**
         * Timer task for destroying processes that exceed their timeout.
         * Handles graceful and forceful termination of thumbnail generation processes.
         */
        protected static class ProcessDestroyer extends TimerTask {
    
            /** The process to monitor and destroy. */
            private final Process p;
    
            /** The input stream thread reading process output. */
            private final InputStreamThread ist;
    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/test/java/org/codelibs/fess/cors/CorsHandlerTest.java

        }
    
        // Test that process method is abstract
        @Test
        public void test_processMethodIsAbstract() throws Exception {
            try {
                java.lang.reflect.Method processMethod =
                        CorsHandler.class.getDeclaredMethod("process", String.class, ServletRequest.class, ServletResponse.class);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 21 06:04:58 GMT 2026
    - 26.3K bytes
    - Click Count (0)
  6. docs/en/docs/deployment/server-workers.md

    ## Recap { #recap }
    
    You can use multiple worker processes with the `--workers` CLI option with the `fastapi` or `uvicorn` commands to take advantage of **multi-core CPUs**, to run **multiple processes in parallel**.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 8.2K bytes
    - Click Count (0)
  7. docs/en/docs/deployment/concepts.md

    This is still true.
    
    So, to be able to have **multiple processes** at the same time, there has to be a **single process listening on a port** that then transmits the communication to each worker process in some way.
    
    ### Memory per Process { #memory-per-process }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 18.5K bytes
    - Click Count (1)
  8. docs/zh/docs/deployment/server-workers.md

         <span style="background-color:#007166"><font color="#D3D7CF"> INFO </font></span>  Started server process <b>[</b><font color="#34E2E2"><b>27370</b></font><b>]</b>
         <span style="background-color:#007166"><font color="#D3D7CF"> INFO </font></span>  Started server process <b>[</b><font color="#34E2E2"><b>27367</b></font><b>]</b>
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:06:37 GMT 2026
    - 8K bytes
    - Click Count (0)
  9. src/test/java/org/codelibs/fess/job/PythonJobTest.java

            assertTrue(result.contains("Python Process terminated."));
        }
    
        // Test execute with timeout
        @Test
        public void test_execute_withTimeout() {
            pythonJob.filename("timeout.py");
            pythonJob.timeout = 60; // Set timeout
            pythonJob.processTimeout = true;
    
            testProcessHelper.exitValue = -1;
            testProcessHelper.processOutput = "Process terminated";
    
    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)
  10. src/test/java/org/codelibs/fess/helper/ProcessHelperTest.java

                assertNotNull(jobProcess);
    
                // Wait for process to start
                Thread.sleep(100);
    
                // Verify process is running
                assertTrue("Process did not become running within timeout", processHelper.isProcessRunning(sessionId));
    
                // Destroy the process
                int exitCode = processHelper.destroyProcess(sessionId);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 16K bytes
    - Click Count (0)
Back to Top