Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for getAccessResultMap (0.11 sec)

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

                    accessResult.setAccessResultData(accessResultData);
                }
                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)
  2. fess-crawler/src/main/java/org/codelibs/fess/crawler/service/impl/UrlQueueServiceImpl.java

                    }
                    return false;
                }
            }
    
            // check it in result
            final AccessResult<Long> accessResult = dataHelper.getAccessResultMap(urlQueue.getSessionId()).get(url);
            if (accessResult != null) {
                if (logger.isDebugEnabled()) {
                    logger.debug("URL exists in a result: {}", url);
                }
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:47:32 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  3. fess-crawler/src/main/java/org/codelibs/fess/crawler/helper/MemoryDataHelper.java

            urlQueueMap.remove(sessionId);
        }
    
        public synchronized void clearUrlQueueList() {
            urlQueueMap.clear();
        }
    
        public synchronized Map<String, AccessResultImpl<Long>> getAccessResultMap(final String sessionId) {
            Map<String, AccessResultImpl<Long>> arMap = sessionMap.get(sessionId);
            if (arMap == null) {
                arMap = new HashMap<>();
                sessionMap.put(sessionId, arMap);
    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