Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for JobProcess (0.07 sec)

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

    import java.util.function.Consumer;
    
    import org.codelibs.fess.Constants;
    
    public class JobProcess {
        protected Process process;
    
        protected InputStreamThread inputStreamThread;
    
        public JobProcess(final Process process) {
            this(process, InputStreamThread.MAX_BUFFER_SIZE, null);
        }
    
        public JobProcess(final Process process, final int bufferSize, final Consumer<String> outputCallback) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/helper/ProcessHelper.java

            pbCall.accept(pb);
            destroyProcess(sessionId);
            JobProcess jobProcess;
            try {
                jobProcess = new JobProcess(pb.start(), bufferSize, outputCallback);
                destroyProcess(sessionId, runningProcessMap.putIfAbsent(sessionId, jobProcess));
                return jobProcess;
            } catch (final IOException e) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:20:39 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/job/PythonJob.java

                if (logger.isInfoEnabled()) {
                    logger.info("Python: \nDirectory={}\nOptions={}", baseDir, cmdList);
                }
    
                final JobProcess jobProcess = processHelper.startProcess(sessionId, cmdList, pb -> {
                    pb.directory(baseDir);
                    pb.redirectErrorStream(true);
                    final Map<String, String> environment = pb.environment();
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/job/GenerateThumbnailJob.java

                }
    
                final JobProcess jobProcess = processHelper.startProcess(sessionId, cmdList, pb -> {
                    pb.directory(baseDir);
                    pb.redirectErrorStream(true);
                });
    
                final InputStreamThread it = jobProcess.getInputStreamThread();
                it.start();
    
                final Process currentProcess = jobProcess.getProcess();
                currentProcess.waitFor();
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:20:39 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/job/SuggestJob.java

                }
    
                final JobProcess jobProcess = processHelper.startProcess(sessionId, cmdList, pb -> {
                    pb.directory(baseDir);
                    pb.redirectErrorStream(true);
                });
    
                final InputStreamThread it = jobProcess.getInputStreamThread();
                it.start();
    
                final Process currentProcess = jobProcess.getProcess();
                currentProcess.waitFor();
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sun Jun 23 04:13:47 UTC 2024
    - 10K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/job/CrawlJob.java

                }
    
                final JobProcess jobProcess = processHelper.startProcess(sessionId, cmdList, pb -> {
                    pb.directory(baseDir);
                    pb.redirectErrorStream(true);
                });
    
                final InputStreamThread it = jobProcess.getInputStreamThread();
                it.start();
    
                final Process currentProcess = jobProcess.getProcess();
                currentProcess.waitFor();
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sun Jun 23 04:13:47 UTC 2024
    - 15.1K bytes
    - Viewed (0)
Back to top