Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for setPriority (0.08 sec)

  1. src/test/java/org/codelibs/fess/score/ScoreUpdaterTest.java

            TestScoreBooster booster1 = new TestScoreBooster(100L);
            booster1.setPriority(1);
            TestScoreBooster booster2 = new TestScoreBooster(200L);
            booster2.setPriority(1);
            TestScoreBooster booster3 = new TestScoreBooster(300L);
            booster3.setPriority(1);
    
            scoreUpdater.addScoreBooster(booster1);
            scoreUpdater.addScoreBooster(booster2);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 10.3K bytes
    - Viewed (0)
  2. fess-crawler/src/main/java/org/codelibs/fess/crawler/Crawler.java

                threads[i] =
                        new Thread(crawlerThreadGroup, crawlerThread, "Crawler-" + crawlerContext.sessionId + "-" + Integer.toString(i + 1));
                threads[i].setDaemon(daemon);
                threads[i].setPriority(threadPriority);
            }
    
            // run
            crawlerContext.setStatus(CrawlerStatus.RUNNING);
            for (int i = 0; i < crawlerContext.numOfThread; i++) {
                threads[i].start();
            }
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 14K bytes
    - Viewed (0)
  3. fess-crawler/src/main/java/org/codelibs/fess/crawler/helper/SitemapsHelper.java

                        sitemapUrl.setChangefreq(buf.toString().trim());
                        buf = null;
                    }
                } else if (PRIORITY_ELEMENT.equals(qName) && buf != null) {
                    sitemapUrl.setPriority(buf.toString().trim());
                    buf = null;
                }
            }
    
            @Override
            public void endDocument() {
                // nothing
            }
    
            /**
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 14.7K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/helper/DataIndexHelper.java

                initParamMap.put(Constants.CRAWLING_INFO_ID, sid);
    
                final DataCrawlingThread dataCrawlingThread = new DataCrawlingThread(dataConfig, indexUpdateCallback, initParamMap);
                dataCrawlingThread.setPriority(crawlerPriority);
                dataCrawlingThread.setName(sid);
                dataCrawlingThread.setDaemon(true);
    
                dataCrawlingThreadList.add(dataCrawlingThread);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 18.9K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/helper/WebFsIndexHelper.java

            }
    
            // run index update
            final IndexUpdater indexUpdater = ComponentUtil.getIndexUpdater();
            indexUpdater.setName("IndexUpdater");
            indexUpdater.setPriority(indexUpdaterPriority);
            indexUpdater.setSessionIdList(sessionIdList);
            indexUpdater.setDaemon(true);
            indexUpdater.setCrawlerList(crawlerList);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 24.9K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/util/concurrent/AbstractFutureTest.java

        // Sleep for enough time to add 1500 milliseconds of overwait to the get() call.
        long toWaitMillis = 3500 - NANOSECONDS.toMillis(System.nanoTime() - thread.startTime);
        Thread.sleep(toWaitMillis);
        thread.setPriority(Thread.MAX_PRIORITY);
        Thread.class.getMethod("resume").invoke(thread);
        thread.join();
        // It's possible to race and suspend the thread just before the park call actually takes effect,
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Jul 11 18:52:30 UTC 2025
    - 46.8K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/util/concurrent/AbstractFutureTest.java

        // Sleep for enough time to add 1500 milliseconds of overwait to the get() call.
        long toWaitMillis = 3500 - NANOSECONDS.toMillis(System.nanoTime() - thread.startTime);
        Thread.sleep(toWaitMillis);
        thread.setPriority(Thread.MAX_PRIORITY);
        Thread.class.getMethod("resume").invoke(thread);
        thread.join();
        // It's possible to race and suspend the thread just before the park call actually takes effect,
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Jul 11 18:52:30 UTC 2025
    - 46.8K bytes
    - Viewed (0)
Back to top