Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for getRunningSessionIdSet (1.21 sec)

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

                processHelper.startProcess(sessionId, cmdList, pbCall);
    
                Set<String> sessionIds = processHelper.getRunningSessionIdSet();
                assertTrue(sessionIds.contains(sessionId));
    
                processHelper.destroyProcess(sessionId);
    
                sessionIds = processHelper.getRunningSessionIdSet();
                assertFalse(sessionIds.contains(sessionId));
            } catch (Exception e) {
    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/api/admin/crawlinginfo/ApiAdminCrawlinginfoAction.java

         */
        // DELETE /api/admin/crawlinginfo/all
        @Execute
        public JsonResponse<ApiResult> delete$all() {
            try {
                crawlingInfoService.deleteOldSessions(processHelper.getRunningSessionIdSet());
                saveInfo(messages -> messages.addSuccessCrawlingInfoDeleteAll(GLOBAL));
            } catch (final Exception e) {
                logger.warn("Failed to process a request.", e);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 6.1K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/app/web/admin/crawlinginfo/AdminCrawlinginfoAction.java

         */
        @Execute
        @Secured({ ROLE, ROLE + VIEW })
        public HtmlResponse deleteall() {
            verifyToken(this::asListHtml);
            crawlingInfoService.deleteOldSessions(processHelper.getRunningSessionIdSet());
            crawlingInfoPager.clear();
            saveInfo(messages -> messages.addSuccessCrawlingInfoDeleteAll(GLOBAL));
            return redirect(getClass());
        }
    
    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/helper/ProcessHelper.java

        }
    
        /**
         * Gets the set of session IDs for all currently running processes.
         *
         * @return set of session IDs for running processes
         */
        public Set<String> getRunningSessionIdSet() {
            return runningProcessMap.keySet();
        }
    
        /**
         * Sets the timeout for process destruction.
         *
         * @param processDestroyTimeout timeout in seconds for process destruction
    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