Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 31 for thread_pool (0.08 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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.
         */
        @Override
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sun Nov 23 02:01:26 UTC 2025
    - 26.2K bytes
    - Viewed (0)
  5. docs/es/docs/async.md

    ///
    
    ### Funciones de *path operation* { #path-operation-functions }
    
    Cuando declaras una *path operation function* con `def` normal en lugar de `async def`, se ejecuta en un threadpool externo que luego es esperado, en lugar de ser llamado directamente (ya que bloquearía el servidor).
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 10:15:01 UTC 2025
    - 25.4K bytes
    - Viewed (0)
  6. tensorflow/c/c_api_experimental.cc

      // TODO(b/113217601): This is needed for EagerContext::runner_ to use a
      // threadpool, so that we avoid the possibility of running the runner_ in the
      // threadpool of GPU event mgr, as that can trigger more callbacks to be
      // scheduled on that same threadpool, causing a deadlock in cases where the
      // caller of event_mgr->ThenExecute() blocks on the completion of the callback
    Registered: Tue Dec 30 12:39:10 UTC 2025
    - Last Modified: Sat Oct 04 05:55:32 UTC 2025
    - 29.4K bytes
    - Viewed (0)
  7. 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)
  8. docs/en/docs/async.md

    ///
    
    ### Path operation functions { #path-operation-functions }
    
    When you declare a *path operation function* with normal `def` instead of `async def`, it is run in an external threadpool that is then awaited, instead of being called directly (as it would block the server).
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sun Aug 31 09:56:21 UTC 2025
    - 24K bytes
    - Viewed (0)
  9. docs/fr/docs/async.md

    ///
    
    ### Fonctions de chemin
    
    Quand vous déclarez une *fonction de chemin* avec un `def` normal et non `async def`, elle est exécutée dans un groupe de threads (threadpool) externe qui est ensuite attendu, plutôt que d'être appelée directement (car cela bloquerait le serveur).
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sun Aug 31 09:56:21 UTC 2025
    - 25.4K bytes
    - Viewed (0)
  10. docs/de/docs/async.md

    ///
    
    ### Pfadoperation-Funktionen { #path-operation-functions }
    
    Wenn Sie eine *Pfadoperation-Funktion* mit normalem `def` anstelle von `async def` deklarieren, wird sie in einem externen Threadpool ausgeführt, der dann `await`et wird, anstatt direkt aufgerufen zu werden (da dies den Server blockieren würde).
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Sep 20 15:10:09 UTC 2025
    - 27.9K bytes
    - Viewed (0)
Back to top