Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 28 for getPriority (0.13 sec)

  1. guava-tests/test/com/google/common/util/concurrent/ThreadFactoryBuilderTest.java

        ThreadFactory factory1 = builder.setPriority(1).build();
        assertEquals(1, factory1.newThread(monitoredRunnable).getPriority());
    
        ThreadFactory factory2 = builder.setPriority(2).build();
        assertEquals(1, factory1.newThread(monitoredRunnable).getPriority());
        assertEquals(2, factory2.newThread(monitoredRunnable).getPriority());
      }
    
      public void testBuildTwice() {
        ThreadFactory unused;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 7.5K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/util/concurrent/ThreadFactoryBuilderTest.java

        ThreadFactory factory1 = builder.setPriority(1).build();
        assertEquals(1, factory1.newThread(monitoredRunnable).getPriority());
    
        ThreadFactory factory2 = builder.setPriority(2).build();
        assertEquals(1, factory1.newThread(monitoredRunnable).getPriority());
        assertEquals(2, factory2.newThread(monitoredRunnable).getPriority());
      }
    
      public void testBuildTwice() {
        ThreadFactory unused;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 7.5K bytes
    - Viewed (0)
  3. fess-crawler/src/test/java/org/codelibs/fess/crawler/helper/SitemapsHelperTest.java

            assertEquals("0.8", ((SitemapUrl) sitemaps[0]).getPriority());
    
            assertNull(sitemaps[1].getLastmod());
            assertEquals("http://www.example.com/catalog?item=12&desc=vacation_hawaii", sitemaps[1].getLoc());
            assertEquals("weekly", ((SitemapUrl) sitemaps[1]).getChangefreq());
            assertNull(((SitemapUrl) sitemaps[1]).getPriority());
    
            assertEquals("2004-12-23", sitemaps[2].getLastmod());
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 9.6K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/ingest/IngestFactoryTest.java

            factory.add(new TestIngester(3));
            Ingester[] ingesters = factory.getIngesters();
            assertEquals(1, ingesters[0].getPriority());
            assertEquals(2, ingesters[1].getPriority());
            assertEquals(3, ingesters[2].getPriority());
        }
    
        public void test_add_2() {
            IngestFactory factory = new IngestFactory();
            factory.add(new TestIngester(3));
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/score/ScoreUpdater.java

            return resultBuf.toString();
        }
    
        protected void addScoreBooster(final ScoreBooster scoreBooster) {
            scoreBoosterList.add(scoreBooster);
            scoreBoosterList.sort((b1, b2) -> b2.getPriority() - b1.getPriority());
        }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  6. build-logic-commons/code-quality-rules/src/main/java/gradlebuild/codenarc/rules/IntegrationTestFixturesRule.java

        public String getName() {
            return "IntegrationTestFixtures";
        }
    
        @Override
        public int getPriority() {
            return 1;
        }
    
        @Override
        public void setName(String name) {
            throw new UnsupportedOperationException();
        }
    
        @Override
        public void setPriority(int priority) {
            throw new UnsupportedOperationException();
        }
    
        @Override
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 1.4K bytes
    - Viewed (0)
  7. impl/maven-core/src/main/java/org/apache/maven/internal/impl/SisuDiBridgeModule.java

                            String name = bean.getKey() instanceof com.google.inject.name.Named n ? n.value() : "";
                            map.compute(name, (n, ob) -> ob == null || ob.getPriority() < b.getPriority() ? b : ob);
                        }
                    }
                    //noinspection unchecked
                    return (Q) map(map, this::getInstance);
                };
            }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/ingest/Ingester.java

    import org.codelibs.fess.entity.DataStoreParams;
    import org.codelibs.fess.util.ComponentUtil;
    
    public abstract class Ingester {
    
        protected int priority = 99;
    
        public int getPriority() {
            return priority;
        }
    
        public void setPriority(final int priority) {
            this.priority = priority;
        }
    
        public void register() {
            ComponentUtil.getIngestFactory().add(this);
        }
    
        // web/file
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/score/ScoreBooster.java

                }
                bulkRequestBuilder = null;
            }
        }
    
        public int getPriority() {
            return priority;
        }
    
        public void setPriority(final int priority) {
            this.priority = priority;
        }
    
        public void setRequestTimeout(final String bulkRequestTimeout) {
            requestTimeout = bulkRequestTimeout;
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:11:58 UTC 2024
    - 5K bytes
    - Viewed (0)
  10. build-logic/buildquality/src/main/kotlin/gradlebuild/codenarc/rules/IntegrationTestFixturesRule.kt

    import org.codenarc.util.AstUtil
    
    
    class IntegrationTestFixturesRule : AbstractAstVisitorRule() {
        override fun getName(): String = "IntegrationTestFixtures"
    
        override fun getPriority(): Int = 1
    
        override fun setPriority(priority: Int) {
            throw UnsupportedOperationException()
        }
    
        override fun setName(name: String?) {
            throw UnsupportedOperationException()
        }
    
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 2.6K bytes
    - Viewed (0)
Back to top