Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for concurrentRule (0.04 sec)

  1. fess-crawler/src/test/java/org/codelibs/fess/crawler/rule/impl/AbstractRuleTest.java

            final CountDownLatch endLatch = new CountDownLatch(threadCount);
            final AtomicInteger errorCount = new AtomicInteger(0);
    
            // Set initial values
            testRule.setRuleId("concurrentRule");
            TestResponseProcessor processor = new TestResponseProcessor();
            testRule.setResponseProcessor(processor);
    
            for (int i = 0; i < threadCount; i++) {
                final int threadId = i;
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Wed Sep 03 14:42:53 UTC 2025
    - 21.9K bytes
    - Viewed (0)
  2. fess-crawler/src/test/java/org/codelibs/fess/crawler/rule/RuleTest.java

        /**
         * Test concurrent rule matching
         */
        public void test_concurrentRuleMatching() throws Exception {
            final ConfigurableRule rule = new ConfigurableRule();
            rule.setRuleId("concurrentRule");
            rule.setResponseProcessor(new TestResponseProcessor("concurrentProcessor"));
            rule.addCondition("url", "https://.*\\.example\\.com/.*");
    
            final int threadCount = 10;
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Wed Sep 03 14:42:53 UTC 2025
    - 22.7K bytes
    - Viewed (0)
Back to top