Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for sendCommand (0.17 sec)

  1. src/test/java/org/codelibs/fess/helper/ProcessHelperTest.java

            // We can't directly verify the timeout value, but we can ensure the method doesn't throw
            assertTrue(true);
        }
    
        public void test_sendCommand_jobNotFound() {
            try {
                processHelper.sendCommand("nonexistent", "test command");
                fail("Expected JobNotFoundException");
            } catch (JobNotFoundException e) {
                assertTrue(e.getMessage().contains("Job for nonexistent is not found"));
            }
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 05:35:01 UTC 2025
    - 15.1K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/app/web/admin/crawlinginfo/AdminCrawlinginfoAction.java

            verifyToken(this::asDetailsHtml);
            final String id = form.id;
            crawlingInfoService.getCrawlingInfo(id).ifPresent(entity -> {
                try {
                    processHelper.sendCommand(entity.getSessionId(), Constants.CRAWLER_PROCESS_COMMAND_THREAD_DUMP);
                    saveInfo(messages -> messages.addSuccessPrintThreadDump(GLOBAL));
                } catch (final Exception e) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 11.4K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/helper/ProcessHelper.java

         * @throws JobNotFoundException if no process is found for the given session ID
         * @throws JobProcessingException if there's an error sending the command
         */
        public void sendCommand(final String sessionId, final String command) {
            final JobProcess jobProcess = runningProcessMap.get(sessionId);
            if (jobProcess == null) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 9.8K bytes
    - Viewed (0)
Back to top