Search Options

Results per page
Sort
Preferred Languages
Advance

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

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

            processHelper.destroy();
            super.tearDown();
        }
    
        public void test_isProcessRunning_empty() {
            assertFalse(processHelper.isProcessRunning());
        }
    
        public void test_isProcessRunning_withSessionId_notExists() {
            assertFalse(processHelper.isProcessRunning("nonexistent"));
        }
    
        public void test_getRunningSessionIdSet_empty() {
            Set<String> sessionIds = processHelper.getRunningSessionIdSet();
    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/helper/ProcessHelper.java

         */
        public boolean isProcessRunning() {
            return !runningProcessMap.isEmpty();
        }
    
        /**
         * Checks if the process with the given session ID is currently running.
         *
         * @param sessionId unique identifier for the process session
         * @return true if the process is running, false otherwise
         */
        public boolean isProcessRunning(final String sessionId) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 9.8K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/app/web/admin/crawlinginfo/AdminCrawlinginfoAction.java

                        RenderDataUtil.register(data, "crawlingInfoParamItems", crawlingInfoService.getCrawlingInfoParamList(id));
                        RenderDataUtil.register(data, "running", processHelper.isProcessRunning(entity.getSessionId()));
                    }))
                    .orElseGet(() -> {
                        throwValidationError(messages -> messages.addErrorsCrudCouldNotFindCrudTable(GLOBAL, id), this::asListHtml);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 11.4K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/app/web/admin/wizard/AdminWizardAction.java

         */
        @Execute
        @Secured({ ROLE })
        public HtmlResponse startCrawling(final StartCrawlingForm form) {
            verifyToken(this::asIndexHtml);
            if (!processHelper.isProcessRunning()) {
                final List<ScheduledJob> scheduledJobList = scheduledJobService.getCrawlerJobList();
                final JobManager jobManager = ComponentUtil.getJobManager();
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 15.8K bytes
    - Viewed (0)
Back to top