- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 18 for Threadpool (0.04 sec)
-
guava-tests/test/com/google/common/collect/QueuesTest.java
* be a SynchronousQueue. */ private ExecutorService threadPool; @Override public void setUp() { threadPool = newCachedThreadPool(); } @Override public void tearDown() throws InterruptedException { threadPool.shutdown(); assertTrue("Some worker didn't finish in time", threadPool.awaitTermination(10, SECONDS)); } private static <T> int drain(
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Nov 04 17:24:58 UTC 2025 - 12.6K bytes - Viewed (0) -
src/main/java/org/codelibs/curl/CurlRequest.java
} } /** * Sets the thread pool for executing the request. * * @param threadPool the thread pool * @return this CurlRequest instance */ public CurlRequest threadPool(final ForkJoinPool threadPool) { this.threadPool = threadPool; return this; } /** * The RequestProcessor class processes the HTTP request and handles the response.Registered: Sat Dec 20 09:13:53 UTC 2025 - Last Modified: Mon Nov 24 03:10:07 UTC 2025 - 18.6K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/suggest/SuggesterBuilder.java
this.analyzer = analyzer; return this; } /** * Sets the thread pool. * @param threadPool The thread pool. * @return This builder instance. */ public SuggesterBuilder threadPool(final ExecutorService threadPool) { this.threadPool = threadPool; return this; } /** * Sets the thread pool size.Registered: Sat Dec 20 13:04:59 UTC 2025 - Last Modified: Mon Nov 24 03:40:05 UTC 2025 - 6.2K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/suggest/index/SuggestIndexer.java
* @param settings The suggest settings. * @param threadPool The thread pool. */ public SuggestIndexer(final Client client, final String index, final ReadingConverter readingConverter, final ReadingConverter contentsReadingConverter, final Normalizer normalizer, final SuggestAnalyzer analyzer, final SuggestSettings settings, final ExecutorService threadPool) { this.client = client;Registered: Sat Dec 20 13:04:59 UTC 2025 - Last Modified: Mon Nov 24 03:40:05 UTC 2025 - 34.4K bytes - Viewed (0) -
fastapi/datastructures.py
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sat Dec 27 12:54:56 UTC 2025 - 5.1K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/suggest/Suggester.java
this.analyzer = Objects.requireNonNull(analyzer, "analyzer must not be null"); index = settings.getAsString(SuggestSettings.DefaultKeys.INDEX, StringUtil.EMPTY); this.threadPool = Objects.requireNonNull(threadPool, "threadPool must not be null"); if (logger.isDebugEnabled()) { logger.debug("Created suggester instance: index={}", index); } } /**
Registered: Sat Dec 20 13:04:59 UTC 2025 - Last Modified: Mon Nov 24 03:40:05 UTC 2025 - 21.6K bytes - Viewed (3) -
android/guava-tests/test/com/google/common/cache/CacheBuilderTest.java
ExecutorService threadPool = newFixedThreadPool(nThreads); CountDownLatch tasksFinished = new CountDownLatch(nTasks); for (int i = 0; i < nTasks; i++) { String s = "a" + i; @SuppressWarnings("unused") // https://errorprone.info/bugpattern/FutureReturnValueIgnored Future<?> possiblyIgnoredError = threadPool.submit( new Runnable() {
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Sep 30 22:03:28 UTC 2025 - 25.4K bytes - Viewed (0) -
src/test/java/org/codelibs/curl/CurlRequestTest.java
ForkJoinPool pool1 = new ForkJoinPool(2); ForkJoinPool pool2 = new ForkJoinPool(4); // Multiple threadPool calls should work request.threadPool(pool1); request.threadPool(pool2); assertNotNull(request); } @Test public void testOnConnectWithNull() {
Registered: Sat Dec 20 09:13:53 UTC 2025 - Last Modified: Mon Nov 24 03:10:07 UTC 2025 - 20.5K bytes - Viewed (0) -
fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/client/FesenClient.java
connected = false; } /** * Gets the thread pool from the underlying client. * * @return The thread pool. */ @Override public ThreadPool threadPool() { return client.threadPool(); } /** * Gets the admin client for cluster and index operations. * * @return The admin client. */ @OverrideRegistered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Sun Nov 23 02:01:26 UTC 2025 - 26.2K bytes - Viewed (0) -
docs/pt/docs/async.md
/// ### Funções de operação de rota { #path-operation-functions } Quando você declara uma *função de operação de rota* com `def` normal ao invés de `async def`, ela é rodada em uma threadpool externa que é então aguardada, ao invés de ser chamada diretamente (já que ela bloquearia o servidor).Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Nov 12 16:23:57 UTC 2025 - 25.8K bytes - Viewed (0)