Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 21 for PRIORITY (1.87 sec)

  1. src/test/java/org/codelibs/fess/helper/WebFsIndexHelperTest.java

            int priority = Thread.NORM_PRIORITY;
            webFsIndexHelper.setIndexUpdaterPriority(priority);
            assertEquals(priority, webFsIndexHelper.indexUpdaterPriority);
        }
    
        public void test_setCrawlerPriority() {
            int priority = Thread.NORM_PRIORITY;
            webFsIndexHelper.setCrawlerPriority(priority);
            assertEquals(priority, webFsIndexHelper.crawlerPriority);
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 10 13:41:04 UTC 2025
    - 15.2K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/ingest/Ingester.java

         *
         * @return the priority value
         */
        public int getPriority() {
            return priority;
        }
    
        /**
         * Sets the priority of this ingester.
         * Lower numbers indicate higher priority.
         *
         * @param priority the priority value to set
         */
        public void setPriority(final int priority) {
            this.priority = priority;
        }
    
        /**
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 4.1K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/util/concurrent/ThreadFactoryBuilder.java

      public ThreadFactoryBuilder setPriority(int priority) {
        // Thread#setPriority() already checks for validity. These error messages
        // are nicer though and will fail-fast.
        checkArgument(
            priority >= Thread.MIN_PRIORITY,
            "Thread priority (%s) must be >= %s",
            priority,
            Thread.MIN_PRIORITY);
        checkArgument(
            priority <= Thread.MAX_PRIORITY,
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:35:26 UTC 2025
    - 9K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/ingest/IngestFactory.java

            newIngesters[ingesters.length] = ingester;
            Arrays.sort(newIngesters, (o1, o2) -> o1.priority - o2.priority);
            ingesters = newIngesters;
        }
    
        /**
         * Returns the array of registered ingesters sorted by priority.
         * The returned array contains all ingesters in priority order
         * (lower priority numbers first).
         *
         * @return the sorted array of ingesters
         */
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/score/ScoreBooster.java

            }
        }
    
        /**
         * Gets the priority of this score booster.
         * @return The priority.
         */
        public int getPriority() {
            return priority;
        }
    
        /**
         * Sets the priority of this score booster.
         * @param priority The priority.
         */
        public void setPriority(final int priority) {
            this.priority = priority;
        }
    
        /**
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 6.6K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/score/ScoreUpdaterTest.java

            }
        }
    
        // Test class with priority tracking
        private static class PriorityTrackingBooster extends ScoreBooster {
            private static List<Integer> executionOrder = new ArrayList<>();
            private final long returnValue;
    
            public PriorityTrackingBooster(int priority, long returnValue) {
                this.priority = priority;
                this.returnValue = returnValue;
            }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 10.3K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/helper/DataIndexHelperTest.java

            int priority = Thread.NORM_PRIORITY; // Use normal priority for tests
            dataIndexHelper.setCrawlerPriority(priority);
    
            try {
                Field field = DataIndexHelper.class.getDeclaredField("crawlerPriority");
                field.setAccessible(true);
                int actualPriority = (Integer) field.get(dataIndexHelper);
                assertEquals(priority, actualPriority);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 05:35:01 UTC 2025
    - 12.7K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/helper/DataIndexHelper.java

            this.crawlingExecutionInterval = crawlingExecutionInterval;
        }
    
        /**
         * Sets the thread priority for crawler threads.
         * This priority will be applied to all newly created crawler threads.
         *
         * @param crawlerPriority thread priority (typically Thread.MIN_PRIORITY to Thread.MAX_PRIORITY)
         */
        public void setCrawlerPriority(final int crawlerPriority) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 18.9K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/helper/WebFsIndexHelper.java

        }
    
        /**
         * Sets the thread priority for index updater operations.
         *
         * @param indexUpdaterPriority The index updater thread priority
         */
        public void setIndexUpdaterPriority(final int indexUpdaterPriority) {
            this.indexUpdaterPriority = indexUpdaterPriority;
        }
    
        /**
         * Sets the thread priority for crawler operations.
         *
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 24.9K bytes
    - Viewed (0)
  10. android/guava-tests/benchmark/com/google/common/util/concurrent/MonitorBenchmark.java

    /**
     * Benchmarks for {@link Monitor}.
     *
     * @author Justin T. Sampson
     */
    @NullUnmarked
    public class MonitorBenchmark {
    
      @Param({"10", "100", "1000"})
      int capacity;
    
      @Param({"Array", "Priority"})
      String queueType;
    
      @Param boolean useMonitor;
    
      private BlockingQueue<String> queue;
      private String[] strings;
    
      @BeforeExperiment
      @SuppressWarnings("unchecked")
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 2.1K bytes
    - Viewed (0)
Back to top