Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for deleteOldSessions (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/app/web/admin/crawlinginfo/AdminCrawlinginfoAction.java

            return redirect(getClass());
        }
    
        @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)
  3. src/main/java/org/codelibs/fess/app/service/CrawlingInfoService.java

                cb.query().addOrderBy_CreatedTime_Asc();
                cb.paging(fessConfig.getPageCrawlingInfoParamMaxFetchSizeAsInteger(), 1);
            });
        }
    
        public void deleteOldSessions(final Set<String> activeSessionId) {
            final List<CrawlingInfo> activeSessionList =
                    activeSessionId.isEmpty() ? Collections.emptyList() : crawlingInfoBhv.selectList(cb -> {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 13.4K bytes
    - Viewed (0)
Back to top