Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for hotThread (0.14 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/main/java/org/codelibs/fess/timer/HotThreadMonitorTarget.java

            buf.append("[HOTTHREAD MONITOR] ");
    
            final FessConfig fessConfig = ComponentUtil.getFessConfig();
    
            buf.append('{');
    
            final boolean ignoreIdleThreads = Constants.TRUE.equalsIgnoreCase(fessConfig.getCrawlerHotthreadIgnoreIdleThreads());
            final TimeValue interval = TimeValue.parseTimeValue(fessConfig.getCrawlerHotthreadInterval(), "crawler.hotthread.interval");
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 3.7K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. src/main/resources/fess_config.properties

    crawler.hotthread.ignore_idle_threads=true
    # Interval for hot thread monitoring (e.g., 500ms).
    crawler.hotthread.interval=500ms
    # Number of snapshots for hot thread monitoring.
    crawler.hotthread.snapshots=10
    # Number of threads for hot thread monitoring.
    crawler.hotthread.threads=3
    # Timeout for hot thread monitoring (e.g., 30s).
    crawler.hotthread.timeout=30s
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 05 14:45:37 UTC 2025
    - 54.7K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/mylasta/direction/FessConfig.java

        String CRAWLER_HOTTHREAD_ignore_idle_threads = "crawler.hotthread.ignore_idle_threads";
    
        /** The key of the configuration. e.g. 500ms */
        String CRAWLER_HOTTHREAD_INTERVAL = "crawler.hotthread.interval";
    
        /** The key of the configuration. e.g. 10 */
        String CRAWLER_HOTTHREAD_SNAPSHOTS = "crawler.hotthread.snapshots";
    
        /** The key of the configuration. e.g. 3 */
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 525.6K bytes
    - Viewed (1)
  8. 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