- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 11 for getpriority (0.08 sec)
-
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) -
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) -
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) -
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) -
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) -
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) -
compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/PluginsMetadataGeneratorFactory.java
@Override public MetadataGenerator newInstance(RepositorySystemSession session, DeployRequest request) { return new PluginsMetadataGenerator(session, request); } @Override public float getPriority() { return 10; // G level MD should be deployed as 3rd MD }
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 2K bytes - Viewed (0) -
compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/SnapshotMetadataGeneratorFactory.java
public MetadataGenerator newInstance(RepositorySystemSession session, DeployRequest request) { return new RemoteSnapshotMetadataGenerator(session, request); } @Override public float getPriority() { return 30; // GAV level metadata should be deployed 1st MD }
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 2K bytes - Viewed (0) -
compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/VersionsMetadataGeneratorFactory.java
@Override public MetadataGenerator newInstance(RepositorySystemSession session, DeployRequest request) { return new VersionsMetadataGenerator(session, request); } @Override public float getPriority() { return 20; // GA level metadata should be deployed 2nd MD }
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 2K bytes - Viewed (0) -
guava/src/com/google/common/util/concurrent/ThreadFactoryBuilder.java
* * @param priority the priority for new Threads created with this ThreadFactory * @return this for the builder pattern */ @CanIgnoreReturnValue 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,
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Oct 14 22:50:54 UTC 2024 - 7.9K bytes - Viewed (0)