Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for getRunningSessionIdSet (0.1 sec)

  1. 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 Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/helper/ProcessHelper.java

                } catch (final Exception e) {
                    logger.error("Could not destroy a process correctly.", e);
                }
            }
            return -1;
        }
    
        public Set<String> getRunningSessionIdSet() {
            return runningProcessMap.keySet();
        }
    
        public void setProcessDestroyTimeout(final int processDestroyTimeout) {
            this.processDestroyTimeout = processDestroyTimeout;
        }
    
    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/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 Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 10K bytes
    - Viewed (0)
Back to top