Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for hotThread (0.11 sec)

  1. src/test/java/org/codelibs/fess/mylasta/direction/FessConfigTest.java

                    // Crawler hotthread properties - actual keys
                    case "crawler.hotthread.ignore_idle_threads":
                        return "true";
                    case "crawler.hotthread.interval":
                        return "500ms";
                    case "crawler.hotthread.snapshots":
                        return "10";
                    case "crawler.hotthread.threads":
                        return "3";
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 23.8K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/exec/Crawler.java

            public String expires;
    
            /** Interval in milliseconds for hot thread monitoring and logging. */
            @Option(name = "-h", aliases = "--hotThread", metaVar = "hotThread", usage = "Interval for Hot Thread logging")
            public Integer hotThread;
    
            /**
             * Default constructor for Options.
             * Protected to allow subclassing while preventing direct instantiation.
             */
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 31K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/job/CrawlJobTest.java

        }
    
        // Test hotThread setter
        public void test_hotThread() {
            int testInterval = 60;
            CrawlJob result = crawlJob.hotThread(testInterval);
            assertEquals(testInterval, crawlJob.hotThreadInterval);
            assertSame(crawlJob, result);
    
            // Test with disabled value
            result = crawlJob.hotThread(-1);
            assertEquals(-1, crawlJob.hotThreadInterval);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 25K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/exec/CrawlerTest.java

            options.fileConfigIds = "file1";
            options.dataConfigIds = "data1";
            options.propertiesPath = "/path/to/props";
            options.expires = "7";
            options.hotThread = 5000;
    
            String result = options.toString();
            assertNotNull(result);
            assertTrue(result.contains("sessionId=session123"));
            assertTrue(result.contains("name=testCrawl"));
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 30.5K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/job/CrawlJob.java

         *
         * @param hotThreadInterval monitoring interval in seconds, -1 to disable
         * @return this CrawlJob instance for method chaining
         */
        public CrawlJob hotThread(final int hotThreadInterval) {
            this.hotThreadInterval = hotThreadInterval;
            return this;
        }
    
        @Override
        public String execute() {
            //   check # of crawler processes
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 19.6K bytes
    - Viewed (0)
Back to top