Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 13 for num_of_threads (0.29 sec)

  1. src/main/java/org/codelibs/core/timer/TimeoutManager.java

        }
    
        @Override
        public void run() {
            int nThreads = Runtime.getRuntime().availableProcessors() / 2;
            final String value = System.getProperty("corelib.timeout_task.num_of_threads");
            if (StringUtil.isNotBlank(value)) {
                try {
                    nThreads = Integer.parseInt(value);
                } catch (final NumberFormatException e) {
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 7.8K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/Constants.java

        /** Indexing target identifier key. */
        public static final String INDEXING_TARGET = "indexingTarget";
    
        /** Number of threads configuration key. */
        public static final String NUM_OF_THREADS = "numOfThreads";
    
        // ============================================================
        // Authentication Type Constants
        // ============================================================
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 34.6K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/exec/ThumbnailGeneratorTest.java

            options.name = "test-name";
            options.propertiesPath = "/path/to/props";
            options.numOfThreads = 5;
    
            String expected = "Options [sessionId=test-session, name=test-name, propertiesPath=/path/to/props, numOfThreads=5]";
            assertEquals(expected, options.toString());
        }
    
        public void test_initializeProbes() {
            // Test that initializeProbes doesn't throw exception
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 11.1K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/exec/ThumbnailGenerator.java

            protected String propertiesPath;
    
            /**
             * Number of threads to use for thumbnail generation.
             */
            @Option(name = "-t", aliases = "--numOfThreads", metaVar = "numOfThreads", usage = "The number of threads")
            protected int numOfThreads = 1;
    
            /**
             * Whether to run in cleanup mode to remove old thumbnails.
             */
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 9.3K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/job/GenerateThumbnailJob.java

        }
    
        /**
         * Sets the number of threads to use for thumbnail generation.
         *
         * @param numOfThreads the number of threads
         * @return this job instance for method chaining
         */
        public GenerateThumbnailJob numOfThreads(final int numOfThreads) {
            this.numOfThreads = numOfThreads;
            return this;
        }
    
        /**
         * Enables cleanup operations for this job.
         *
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 11.7K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/job/GenerateThumbnailJobTest.java

        }
    
        // Test numOfThreads setter
        public void test_numOfThreads() {
            assertEquals(1, thumbnailJob.numOfThreads);
    
            GenerateThumbnailJob result = thumbnailJob.numOfThreads(4);
    
            assertSame(thumbnailJob, result);
            assertEquals(4, thumbnailJob.numOfThreads);
        }
    
        // Test cleanup setter
        public void test_cleanup() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 18.8K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/it/admin/FileConfigTests.java

            final String keyProp = NAME_PREFIX + id;
            final String paths = "file:///" + NAME_PREFIX + id;
            requestBody.put(KEY_PROPERTY, keyProp);
            requestBody.put("paths", paths);
            requestBody.put("num_of_thread", 5);
            requestBody.put("interval_time", 1000);
            requestBody.put("boost", id);
            requestBody.put("available", true);
            requestBody.put("sort_order", id);
            return requestBody;
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Mar 15 06:53:53 UTC 2025
    - 2.5K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/it/admin/WebConfigTests.java

            final String urls = "http://" + NAME_PREFIX + id;
            requestBody.put(KEY_PROPERTY, keyProp);
            requestBody.put("urls", urls);
            requestBody.put("user_agent", "Mozilla/5.0");
            requestBody.put("num_of_thread", 5);
            requestBody.put("interval_time", 1000);
            requestBody.put("boost", id);
            requestBody.put("available", true);
            requestBody.put("sort_order", id);
            return requestBody;
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Mar 15 06:53:53 UTC 2025
    - 2.6K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/it/admin/WebAuthTests.java

            requestBody.put("name", "test_webconfig");
            requestBody.put("urls", "http://www.example.com");
            requestBody.put("user_agent", "Mozilla/5.0");
            requestBody.put("num_of_thread", 5);
            requestBody.put("interval_time", 1000);
            requestBody.put("boost", 100.0);
            requestBody.put("available", true);
            requestBody.put("sort_order", 1);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 3.9K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/it/admin/ReqHeaderTests.java

            requestBody.put("name", "test_webconfig");
            requestBody.put("urls", "http://www.example.com");
            requestBody.put("user_agent", "Mozilla/5.0");
            requestBody.put("num_of_thread", 5);
            requestBody.put("interval_time", 1000);
            requestBody.put("boost", 100.0);
            requestBody.put("available", true);
            requestBody.put("sort_order", 1);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 4K bytes
    - Viewed (0)
Back to top