Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for saveSession (0.21 sec)

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

                return urlQueueList.poll();
            }
        }
    
        /*
         * (non-Javadoc)
         *
         * @see
         * org.codelibs.fess.crawler.service.UrlQueueService#saveSession(java.lang.String)
         */
        @Override
        public void saveSession(final String sessionId) {
            // NOP
        }
    
        /*
         * (non-Javadoc)
         *
         * @see org.codelibs.fess.crawler.service.UrlQueueService#visited(UrlQueue)
    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/service/UrlQueueService.java

        void insert(QUEUE urlQueue);
    
        void delete(String sessionId);
    
        void deleteAll();
    
        void offerAll(String sessionId, List<QUEUE> newUrlQueueList);
    
        QUEUE poll(String sessionId);
    
        void saveSession(String sessionId);
    
        boolean visited(QUEUE urlQueue);
    
        void generateUrlQueues(String previousSessionId, String sessionId);
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  3. fess-crawler/src/main/java/org/codelibs/fess/crawler/Crawler.java

                    logger.warn("Interrupted job at {}", threads[i].getName());
                }
            }
            crawlerContext.setStatus(CrawlerStatus.DONE);
    
            urlQueueService.saveSession(crawlerContext.sessionId);
        }
    
        public CrawlerContext getCrawlerContext() {
            return crawlerContext;
        }
    
        public void setNumOfThread(final int numOfThread) {
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:47:32 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  4. fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/service/impl/OpenSearchUrlQueueService.java

                    SortBuilders.fieldSort(OpenSearchUrlQueue.WEIGHT).order(SortOrder.DESC),
                    SortBuilders.fieldSort(CREATE_TIME).order(SortOrder.ASC));
        }
    
        @Override
        public void saveSession(final String sessionId) {
            // TODO use cache
        }
    
        @Override
        public boolean visited(final OpenSearchUrlQueue urlQueue) {
            final String url = urlQueue.getUrl();
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Nov 07 04:44:10 UTC 2024
    - 13.4K bytes
    - Viewed (0)
Back to top