Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for getMaxAccessCount (0.29 sec)

  1. fess-crawler/src/main/java/org/codelibs/fess/crawler/processor/impl/DefaultResponseProcessor.java

            return accessResult;
        }
    
        protected boolean checkAccessCount(final CrawlerContext crawlerContext) {
            if (crawlerContext.getMaxAccessCount() > 0) {
                return crawlerContext.incrementAndGetAccessCount() <= crawlerContext.getMaxAccessCount();
            }
            return true;
        }
    
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:47:32 UTC 2024
    - 9K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/ds/callback/FileListIndexUpdateCallbackImpl.java

                    return;
                }
    
                final StatsKeyObject keyObj = paramMap.get(Constants.CRAWLER_STATS_KEY) instanceof final StatsKeyObject sko ? sko : null;
    
                final long maxAccessCount = getMaxAccessCount(paramMap, dataMap);
                long counter = 0;
                final Deque<String> urlQueue = new LinkedList<>();
                final Set<String> processedUrls = new HashSet<>();
                urlQueue.offer(url);
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 16.8K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/helper/WebFsIndexHelper.java

                crawlerContext.setMaxDepth(depth);
    
                // max count
                final long maxCount = webConfig.getMaxAccessCount() != null ? webConfig.getMaxAccessCount() : maxAccessCount;
                crawlerContext.setMaxAccessCount(maxCount);
    
                webConfig.initializeClientFactory(() -> crawler.getClientFactory());
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:11:58 UTC 2024
    - 22.6K bytes
    - Viewed (0)
  4. fess-crawler/src/main/java/org/codelibs/fess/crawler/CrawlerContext.java

        }
    
        public int getMaxDepth() {
            return maxDepth;
        }
    
        public void setMaxDepth(final int maxDepth) {
            this.maxDepth = maxDepth;
        }
    
        public long getMaxAccessCount() {
            return maxAccessCount;
        }
    
        public void setMaxAccessCount(final long maxAccessCount) {
            this.maxAccessCount = maxAccessCount;
        }
    
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Sat Oct 12 01:40:57 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/es/config/bsentity/BsWebConfig.java

            return intervalTime;
        }
    
        public void setIntervalTime(Integer value) {
            registerModifiedProperty("intervalTime");
            this.intervalTime = value;
        }
    
        public Long getMaxAccessCount() {
            checkSpecifiedProperty("maxAccessCount");
            return maxAccessCount;
        }
    
        public void setMaxAccessCount(Long value) {
            registerModifiedProperty("maxAccessCount");
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/es/config/bsentity/BsFileConfig.java

            return intervalTime;
        }
    
        public void setIntervalTime(Integer value) {
            registerModifiedProperty("intervalTime");
            this.intervalTime = value;
        }
    
        public Long getMaxAccessCount() {
            checkSpecifiedProperty("maxAccessCount");
            return maxAccessCount;
        }
    
        public void setMaxAccessCount(Long value) {
            registerModifiedProperty("maxAccessCount");
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 13.7K bytes
    - Viewed (0)
  7. fess-crawler/src/main/java/org/codelibs/fess/crawler/CrawlerThread.java

                return false;
            }
    
            boolean isContinue = false;
            if (tcCount < crawlerContext.maxThreadCheckCount) {
                final long maxAccessCount = crawlerContext.getMaxAccessCount();
                if (maxAccessCount > 0 && crawlerContext.getAccessCount() >= maxAccessCount) {
                    return false;
                }
                isContinue = true;
            }
    
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Sat Oct 12 01:41:37 UTC 2024
    - 15.5K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/es/config/bsentity/dbmeta/WebConfigDbm.java

            setupEpg(_epgMap, et -> ((WebConfig) et).getIntervalTime(), (et, vl) -> ((WebConfig) et).setIntervalTime(DfTypeUtil.toInteger(vl)),
                    "intervalTime");
            setupEpg(_epgMap, et -> ((WebConfig) et).getMaxAccessCount(), (et, vl) -> ((WebConfig) et).setMaxAccessCount(DfTypeUtil.toLong(vl)),
                    "maxAccessCount");
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 18.4K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/es/config/bsentity/dbmeta/FileConfigDbm.java

            setupEpg(_epgMap, et -> ((FileConfig) et).getIntervalTime(),
                    (et, vl) -> ((FileConfig) et).setIntervalTime(DfTypeUtil.toInteger(vl)), "intervalTime");
            setupEpg(_epgMap, et -> ((FileConfig) et).getMaxAccessCount(),
                    (et, vl) -> ((FileConfig) et).setMaxAccessCount(DfTypeUtil.toLong(vl)), "maxAccessCount");
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 18K bytes
    - Viewed (0)
Back to top