Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. fess-crawler-opensearch/src/test/java/org/codelibs/fess/crawler/CrawlerTest.java

                fileTransformer.setPath(file.getAbsolutePath());
                crawler.addUrl(url);
                crawler.getCrawlerContext().setMaxAccessCount(maxCount);
                crawler.getCrawlerContext().setNumOfThread(numOfThread);
                crawler.urlFilter.addInclude(url + ".*");
                final String sessionId = crawler.execute();
                assertEquals(maxCount, dataService.getCount(sessionId));
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Nov 07 04:44:10 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  2. fess-crawler/src/main/java/org/codelibs/fess/crawler/CrawlerContext.java

        }
    
        public Object getActiveThreadCountLock() {
            return activeThreadCountLock;
        }
    
        public int getNumOfThread() {
            return numOfThread;
        }
    
        public void setNumOfThread(final int numOfThread) {
            this.numOfThread = numOfThread;
        }
    
        public int getMaxThreadCheckCount() {
            return maxThreadCheckCount;
        }
    
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Sat Oct 12 01:40:57 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/helper/WebFsIndexHelper.java

                final int numOfThread =
                        webConfig.getNumOfThread() != null ? webConfig.getNumOfThread() : Constants.DEFAULT_NUM_OF_THREAD_FOR_WEB;
                crawlerContext.setNumOfThread(numOfThread);
    
                // depth
                final int depth = webConfig.getDepth() != null ? webConfig.getDepth() : -1;
                crawlerContext.setMaxDepth(depth);
    
                // max count
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:11:58 UTC 2024
    - 22.6K bytes
    - Viewed (0)
Back to top