Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for removeUrlQueueList (0.17 sec)

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

            // not MT-safe
            final Queue<UrlQueueImpl<Long>> urlQueueList = dataHelper.getUrlQueueList(oldSessionId);
            // overwrite
            dataHelper.addUrlQueueList(newSessionId, urlQueueList);
            dataHelper.removeUrlQueueList(oldSessionId);
        }
    
        /*
         * (non-Javadoc)
         *
         * @see org.codelibs.fess.crawler.service.UrlQueueService#add(java.lang.String,
         * java.lang.String)
         */
        @Override
    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/helper/MemoryDataHelper.java

            final Queue<UrlQueueImpl<Long>> uqList = getUrlQueueList(sessionId);
            uqList.addAll(urlQueueList);
            urlQueueMap.put(sessionId, uqList);
        }
    
        public synchronized void removeUrlQueueList(final String sessionId) {
            urlQueueMap.remove(sessionId);
        }
    
        public synchronized void clearUrlQueueList() {
            urlQueueMap.clear();
        }
    
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 4.8K bytes
    - Viewed (0)
Back to top