Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for InputStreamThread (0.07 sec)

  1. src/main/java/org/codelibs/fess/util/InputStreamThread.java

     * optionally process each line with a callback function, and maintain a circular buffer
     * of recent lines for retrieval.
     */
    public class InputStreamThread extends Thread {
        /** Logger instance for this class */
        private static final Logger logger = LogManager.getLogger(InputStreamThread.class);
    
        /** Buffered reader for reading from the input stream */
        private final BufferedReader br;
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 4.6K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/util/JobProcessTest.java

            Process mockProcess = createMockProcess("test data");
            JobProcess jobProcess = new JobProcess(mockProcess);
    
            InputStreamThread thread = jobProcess.getInputStreamThread();
    
            assertNotNull(thread);
            assertEquals("InputStreamThread", thread.getName());
        }
    
        public void test_constructor_withZeroBufferSize() throws IOException {
            Process mockProcess = createMockProcess("test");
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 07:34:10 UTC 2025
    - 8.5K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/util/JobProcess.java

         */
        protected InputStreamThread inputStreamThread;
    
        /**
         * Constructs a new JobProcess with the specified process.
         * Uses the default buffer size and no output callback.
         *
         * @param process the system process to wrap
         */
        public JobProcess(final Process process) {
            this(process, InputStreamThread.MAX_BUFFER_SIZE, null);
        }
    
        /**
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/job/PythonJob.java

    import org.codelibs.fess.helper.ProcessHelper;
    import org.codelibs.fess.mylasta.direction.FessConfig;
    import org.codelibs.fess.util.ComponentUtil;
    import org.codelibs.fess.util.InputStreamThread;
    import org.codelibs.fess.util.JobProcess;
    import org.codelibs.fess.util.SystemUtil;
    
    import jakarta.servlet.ServletContext;
    
    /**
     * Job for executing Python scripts within the Fess search engine environment.
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 8.2K bytes
    - Viewed (0)
Back to top