Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 29 for getSessionId (0.08 sec)

  1. fess-crawler/src/main/java/org/codelibs/fess/crawler/service/impl/UrlQueueServiceImpl.java

         * .UrlQueue)
         */
        @Override
        public void insert(final UrlQueueImpl<Long> urlQueue) {
            final Queue<UrlQueueImpl<Long>> urlQueueList = dataHelper.getUrlQueueList(urlQueue.getSessionId());
            synchronized (urlQueueList) {
                urlQueueList.add(urlQueue);
            }
        }
    
        /*
         * (non-Javadoc)
         *
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:47:32 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  2. fess-crawler/src/main/java/org/codelibs/fess/crawler/processor/impl/DefaultResponseProcessor.java

                        uq.setSessionId(crawlerContext.getSessionId());
                        uq.setUrl(d.getUrl());
                        uq.setMetaData(d.getMetaData());
                        return uq;
                    }).collect(Collectors.toList());
    
            if (!childList.isEmpty()) {
                CrawlingParameterUtil.getUrlQueueService().offerAll(crawlerContext.getSessionId(), childList);
            }
        }
    
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:47:32 UTC 2024
    - 9K bytes
    - Viewed (0)
  3. fess-crawler/src/main/java/org/codelibs/fess/crawler/service/impl/DataServiceImpl.java

                }
                accessResultData.setId(accessResult.getId());
    
                final Map<String, AccessResultImpl<Long>> arMap = dataHelper.getAccessResultMap(accessResult.getSessionId());
                if (arMap.containsKey(accessResult.getUrl())) {
                    throw new CrawlerSystemException(accessResult.getUrl() + " already exists.");
                }
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:47:32 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/crawler/FessCrawlerThread.java

                final String url = urlQueue.getUrl();
                ResponseData responseData = null;
                try {
                    final CrawlingConfig crawlingConfig = crawlingConfigHelper.get(crawlerContext.getSessionId());
                    final Map<String, Object> dataMap = new HashMap<>();
                    dataMap.put(fessConfig.getIndexFieldUrl(), url);
                    final List<String> roleTypeList = new ArrayList<>();
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 14.6K bytes
    - Viewed (0)
  5. fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/service/impl/OpenSearchUrlQueueService.java

                    if (sessionId.equals(urlQueue.getSessionId()) && url.equals(urlQueue.getUrl())) {
                        return true;
                    }
                }
                for (final UrlQueue<String> urlQueue : waitingQueue) {
                    if (sessionId.equals(urlQueue.getSessionId()) && url.equals(urlQueue.getUrl())) {
                        return true;
                    }
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Nov 07 04:44:10 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  6. fess-crawler/src/main/java/org/codelibs/fess/crawler/entity/AccessResultImpl.java

        @Override
        public void setId(final IDTYPE id) {
            this.id = id;
        }
    
        /*
         * (non-Javadoc)
         *
         * @see org.codelibs.fess.crawler.entity.AccessResult#getSessionId()
         */
        @Override
        public String getSessionId() {
            return sessionId;
        }
    
        /*
         * (non-Javadoc)
         *
         * @see org.codelibs.fess.crawler.entity.AccessResult#setSessionId(java.lang.String)
         */
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 8K bytes
    - Viewed (0)
  7. fess-crawler/src/main/java/org/codelibs/fess/crawler/entity/UrlQueueImpl.java

        @Override
        public void setId(final IDTYPE id) {
            this.id = id;
        }
    
        /*
         * (non-Javadoc)
         *
         * @see org.codelibs.fess.crawler.entity.UrlQueue#getSessionId()
         */
        @Override
        public String getSessionId() {
            return sessionId;
        }
    
        /*
         * (non-Javadoc)
         *
         * @see org.codelibs.fess.crawler.entity.UrlQueue#setSessionId(java.lang.String)
         */
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Mon Nov 04 07:44:18 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  8. 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);
                        return null;
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 10K bytes
    - Viewed (0)
  9. fess-crawler/src/main/java/org/codelibs/fess/crawler/CrawlerContext.java

        /** a max depth for crawling. -1 is no depth check. */
        protected int maxDepth = -1;
    
        /** a max count to access urls. 0 is no limit to access it. */
        protected long maxAccessCount = 0;
    
        public String getSessionId() {
            return sessionId;
        }
    
        public void setSessionId(final String sessionId) {
            this.sessionId = sessionId;
        }
    
        public Integer getActiveThreadCount() {
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Sat Oct 12 01:40:57 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  10. fess-crawler-lasta/src/test/java/org/codelibs/fess/crawler/CrawlerTest.java

                file.deleteOnExit();
                fileTransformer.setPath(file.getAbsolutePath());
    
                final Crawler crawler1 = crawlerContainer.getComponent("crawler");
                crawler1.setSessionId(crawler1.getSessionId() + "1");
                crawler1.setBackground(true);
                ((UrlFilterImpl) crawler1.urlFilter).setIncludeFilteringPattern("$1$2$3.*");
                crawler1.addUrl(url1);
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:47:32 UTC 2024
    - 11.9K bytes
    - Viewed (0)
Back to top